- Der Textfilter reagiert nun auf die "Ist strikt" Checkbox und ergänzt die Suche bei mehreren Attributen entsprechend mit OR (nicht strikt) oder AND (ist strikt)
- Geodaten Filter: Die Koordinaten des aktuellen Filter-Standorts werden nun direkt an das Template übergeben
- Geodaten Filter: Reagiert auf gesetzte Koordinaten via GET-Parameter: Parameter-Logik: FILTER-NAME_lat=, FILTER-NAME_lon=
- Geodaten Filter: Im Template des Filters habe ich die Übergabe der Koordinaten als versteckte Felder vorbereitet, wer es nutzen möchte (standardmäßig auskommentiert)
Updatehinweis:
Das Modul kann wie gewohnt direkt ersetzt werden. Der interne Cache sollte geleert oder deaktivert sein.
Ein Datenbankupdate nicht nötig.
Changelog:
Code:
Update: Text filter: Should not be strict by default. Toggle the strictness of the filter by the backend "isStrict" checkbox to combine search queries via AND (strict) or OR (not strict (default)) Update: Geolocation filter: React to GET parameters for the coordinates "NAME-OF-FILTER_lat", "NAME-OF-FILTER_lon" when no address is given Update: Geolocation attribute: Improve the findCoordinates method by a caching system Update: Geolocation filter: Pass the current coordinates to the filter template immediately Update: Geolocation customcatalog_filter_geosearch template: Added hidden fields for latitude and longitude GET parameters (commented out by default) Update: Geolocation customcatalog_filter_geosearch template: Added a little helper javascript to append the coordinates to the url on first load and when not GET parameter for them has been set yet (commented out by default)
Einen Kommentar schreiben: