Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
search data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2009 at 18:07 UTC
Updated:
4 Aug 2010 at 18:20 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| views_search_noresult.patch | 761 bytes | taldy |
Comments
Comment #1
yrre7 commentedJust 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.
Comment #2
esmerel commentedAt this time, only security fixes will be made to the 5.x version of Views.