https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21286
Bug ID: 21286
Summary: Advanced search for Corporate-name creates Zebra
errors
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Zebra
Assignee: [email protected]
Reporter: [email protected]
If you're in the advanced search in the staff client, and if you're using the
QueryWeightFields system preference, and if you're searching with
"Corporate-name", you'll generate Zebra errors.
There are a few things contributing to this problem. One is that Corporate-name
is only indexed into the "word" register and not the "phrase" register. This
becomes a problem with QueryWeightFields, because of the last conditional block
in C4::Search::_build_weighted_query() which rewrites the search query to
include $index,ext,r1, which forces a search of the "phrase" register, which
causes Zebra to explode (when it doesn't use the 14=1 special attribute).
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/