Forums › Forums › Search & Filter Pro › Filter only search results?
- This topic has 10 replies, 2 voices, and was last updated 6 years, 8 months ago by Trevor.
-
Anonymous(Private) February 19, 2018 at 2:04 am #160635
Sorry for the noob question – but I can’t seem to find the answer.
I have my search form returning results for custom post types.
For example: Searching for the keyword “tour” in “Self Driving Tours”.
/?s=tour&post_type=self-drive-tours
That works – fine. Results returned as expected.However the SEARCH FILTERS are filtering from ALL items – not just the search results.
EXAMPLE:
In total, I have 20 tours on the website.
I do a search for “B-TOUR” and return two (2) results.
When I filter or sort those 2 results (by duration or class, or sort order, or price slider), the ajax reloads the content div – filtering from ALL 20 tours.
The “filter count” after initial search also displays numbers from the TOTAL list of tours (20) – not just the number of search results (2).Does that make sense?
Probably a simple setting I’m missing but I can’t seem to find it.Thanks for this great plugin!
-
AuthorPosts