Title: Filter Not Working Properly
Last modified: October 28, 2016

---

# Filter Not Working Properly

 *  [hawrarabaan](https://wordpress.org/support/users/hawrarabaan/)
 * (@hawrarabaan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/filter-not-working-properly/)
 * I put together the following filter:
    [searchandfilter hide_empty=”0″ show_count
   =”1″ taxonomies=”kind,year,country,forum” headings=”Kind of Document,Year,Country,
   Forum” ]
 * When I choose one filter term it works properly, however, when I choose two or
   more it returns no results found even though there are results matching the filter
   criteria in my database.
 * Has anyone faced the same issue?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * (@designsandcode)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/filter-not-working-properly/#post-8423007)
 * Do you mean when you select 1 option from one taxonomy, then select another 1
   option from another taxonomy then you get no results?
 * I believe this could be because S&F is using an AND query between the taxonomies,
   so it will show only posts that have both terms from each taxonomy applied.
 * It sounds like you might want to to show all posts that belong to taxonomy A 
   OR taxonomy B?
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Filter Not Working Properly’ is closed to new replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ross Morsali](https://wordpress.org/support/users/designsandcode/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/filter-not-working-properly/#post-8423007)
 * Status: not resolved