A small but irritating bug, easy to reproduce:

1. Go to any search page edit form (for example, admin/config/search/apachesolr/search-pages/core_search/edit).
2. Check Custom filter. This reveals a text field labeled Custom filters.
3. Enter a filter, for example entity_type:article
4. Uncheck Custom filter. The text field below disappears.
5. Click on Save configuration.

This UI behavior leads one to expect that the filter will not apply on the search page, but visit the search page and you will see that it does.

Edit the search page again, and you will see that Custom filter is checked and the text field the filter you just entered.

To actually delete the filter you counter-intuitively have to BOTH uncheck Custom filter AND remove the text filter.

CommentFileSizeAuthor
#1 1411066-1.patch2.45 KBnick_vh

Comments

nick_vh’s picture

StatusFileSize
new2.45 KB

See if this fixes it? Feel free to submit patches yourselves if you can.

Nick

nick_vh’s picture

Status: Active » Needs review
nick_vh’s picture

Version: 7.x-1.0-beta15 » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

Committed,

Thanks for reporting!

nick_vh’s picture

Status: Patch (to be ported) » Fixed

Commited to 6.x-3.x! Thanks

nick_vh’s picture

Status: Fixed » Closed (fixed)