[Koha-bugs] [Bug 23086] Search for collection is broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 8 23:03:57 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23086
Liz Rea <wizzyrea at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106664|0 |1
is obsolete| |
--- Comment #6 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 106668
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106668&action=edit
Bug 23086 - Search for collection is broken
It appears that we are quoting the ccode values deep in the search code.
Under ICU chains this breaks searching by limits
To recreate
1 - Setup Koha using Zebra and icuchains
2 - Add ccode to AdvancedSearchTypes
3 - In koha-conf.xml set zebra debug level to include request
<zebra_loglevels>none,fatal,warn,request,info</zebra_loglevels>
4 - Set some items into different ccodes
5 - On opac perform a search for:
ccode:NFIC
6 - It works
7 - tail -n 50 /var/log/koha/kohadev/zebra-output.log
8 - Note search request like:
Search biblios OK 26 1 1+0 RPN @attrset Bib-1 @attr 1=8009 NFIC
9 - On opac go to advanced search, select Collection, and limit to smae code a
s above
10 - No results
11 - Check the zebra-output.log:
Search biblios OK 0 1 1+0 RPN @attrset Bib-1 @attr 1=8009 'NFIC'
12 - Apply patch
13 - Restart all
14 - Repeat search by collection limit
15 - Success!
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
https://bugs.koha-community.org/show_bug.cgi?id=23806
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list