Search queries containing a filter in a subquery/group may drop the filter
Bug #1808055 reported by
Jeff Godin
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Mike Rylander |
Bug Description
Observed in Evergreen 3.1:
When a search query contains a filter in a subgroup, such as:
History (locations(123)), the location filter is dropped.
Performing the search as History locations(123) works as expected.
This seems to be the case for all non-dynamic filters. Dynamic filters such as audience() appear to be unaffected.
Similarly, if a search filter group entry is "locations(123)", a search like the following fails, because it is expanded to a query similar to the problematic one above:
search_
Further conversation on IRC: http://
Issue seems to be within QueryParser, Mike Rylander has a suggested fix.
tags: | added: search |
Changed in evergreen: | |
status: | New → Confirmed |
To post a comment you must log in.
I've pushed an untested attempt to address this to http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 1808055- support_ nested_ static_ filters for others to look at. If I can find the tuits to test soon, I will, but please grab if you're interested. I'll not add a pullrequest tag until someone gives it a spin.