Edelweiss Styleguide

Styleguide Navigation

Destinations Search

  • 2018-04-23Migrated [jr]

Destinations Search

Destinations search can be added to filterable destinations. It operates on a JavaScript array destinations with objects having a key search which hold the searchable string.

The search field will pass query strings via the GET parameter query. The filter JS componenten will pick up this parameter and do the filtering based on it.

The back end has to apply a class hide on filtered destinations based on the given query GET parameters on _page load in order to enable filtering for JavaScript-less browsers.


The destinations filter module operates on the same array with different keys.