This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 20.05.x has been updated
via 4733a2a4215c9351a398945ea2546542e4027d43 (commit)
via 1a6e51934df7f21f9b64f52606edb84180b5be2d (commit)
from 25f91e5f431f8a8f06ac3710d776c7ed57d3bd20 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4733a2a4215c9351a398945ea2546542e4027d43
Author: Kyle M Hall <[email protected]>
Date: Wed Sep 18 10:28:33 2019 -0400
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!
16 - Check the zebra-output.log:
Search biblios OK 0 1 1+0 RPN @attrset Bib-1 @attr 1=8009 NFIC
17 - Add a new ccode value: N)N
18 - Set some items to that ccode
19 - Confirm searching by that ccode works
Signed-off-by: Katrin Fischer <[email protected]>
Signed-off-by: Alex Arnaud <[email protected]>
Signed-off-by: Jonathan Druart <[email protected]>
(cherry picked from commit bc1b76be4a35403239fbce6f349ee343435cc8a0)
Signed-off-by: Lucas Gass <[email protected]>
commit 1a6e51934df7f21f9b64f52606edb84180b5be2d
Author: Nick Clemens <[email protected]>
Date: Wed Jul 15 15:33:18 2020 +0000
Bug 23086: Unit test
Signed-off-by: Katrin Fischer <[email protected]>
Signed-off-by: Alex Arnaud <[email protected]>
Signed-off-by: Jonathan Druart <[email protected]>
(cherry picked from commit 40b6e1b8a1a6e74cb4e9a1c422ffa4faa0bdefc0)
Signed-off-by: Lucas Gass <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
C4/Search.pm | 3 +--
t/db_dependent/Search.t | 8 +++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits