Summary: | Item search: indexes build on MARC do not work in item's search | ||
---|---|---|---|
Product: | Koha | Reporter: | Zeno Tajoli <ztajoli> |
Component: | Searching | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | jonathan.druart, julian.maurice, kyle, mtj |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 17743: Item search - Fix indexes build on MARC
Bug 17743: Item search - Fix indexes build on MARC Bug 17743: Item search - Fix indexes build on MARC |
Description
Zeno Tajoli
2016-12-08 08:38:48 UTC
The same happens for fields like 952$x. I just tested on master and it also gives back all results instead of filtering. We think this used to work sometime prior to 3.22.10. This renders the whole configuration options useless, upping severity a bit. Created attachment 58242 [details] [review] Bug 17743: Item search - Fix indexes build on MARC Searching items by custom search fields does not work because these fields are not correctly processed in JS. In case of custom search field, the parent of the option is not the select but the optgroup element. Test plan: Create a custom search field on 245$c for instance On the items search form, select this field and launch a search => Without this patch, the results will not be filtered and you will get all your items => With this patch applied, the results should be correctly filtered Created attachment 58383 [details] [review] Bug 17743: Item search - Fix indexes build on MARC Searching items by custom search fields does not work because these fields are not correctly processed in JS. In case of custom search field, the parent of the option is not the select but the optgroup element. Test plan: Create a custom search field on 245$c for instance On the items search form, select this field and launch a search => Without this patch, the results will not be filtered and you will get all your items => With this patch applied, the results should be correctly filtered Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 58386 [details] [review] Bug 17743: Item search - Fix indexes build on MARC Searching items by custom search fields does not work because these fields are not correctly processed in JS. In case of custom search field, the parent of the option is not the select but the optgroup element. Test plan: Create a custom search field on 245$c for instance On the items search form, select this field and launch a search => Without this patch, the results will not be filtered and you will get all your items => With this patch applied, the results should be correctly filtered Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed to master for 17.05, thanks Jonathan! This patch has been pushed to 16.11.x, will be in 16.11.01. Pushed to 3.22.x for 3.22.14 Pushed to 16.05.x, for 16.05.07 release |