Searching a filtered list
-
I’m experiencing som strange behaviour with the search funcionality.
I have a page with this shortcode:
[pdb_list search="true" filter="kategori1=Informationsteknologi|kategori2=Informationsteknologi"]
where ‘kategori1’ and ‘kategori2’ are Dopdown List fields with ‘Informationsteknologi’ as one of the possible choices for both fields.Before I make a search, the page shows the filtered list like it should. However, when I make a search, it shows records corresponding to the filter mixed with records corresponding to the search term.
If I turn of AJAX Search in the settings, the results of the search equals the filter set in the shortcode, no matter what I search for – in other words, the page is exactly the same after a search as before a search.
Im not sure what the intended outcome is when you search a filtered list, but what I’d like to achieve is a search result filtered by the filter set in the shortcode as well as the search term.
How could I accomplish this?
- The topic ‘Searching a filtered list’ is closed to new replies.