Greetings,

We found a confusing situation with "Search: Index" exposed filter.
Defect scenario:
1. Create a view with "Search: Index" exposed filter.
2. Be sure content which is displayed by the view is indexed correctly by the Search module.
3. Try to filter by unexisting keywords - so that view should return no results beacuse there are no content with such keywords.

Expected: View should return no results and an empty message should appear.
Result: View returns all results instead which is very confusing for the user.

We propose a simple patch which fixes this issue.

CommentFileSizeAuthor
views_search_noresult.patch761 bytestaldy

Comments

yrre7’s picture

Just also want to point out you can also fix this problem by using views_fastsearch module, and use its provided "Search: fast index" filter.

cheers.

esmerel’s picture

Status: Needs review » Closed (won't fix)

At this time, only security fixes will be made to the 5.x version of Views.