[Koha-bugs] [Bug 24517] Zebra: date-entered-on-file misses 6th position

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 05:27:09 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24517

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
Test plan:

Before applying patch...

1. yaz-client unix:/var/run/koha/kohadev/bibliosocket
2. base biblios
3. querytype ccl2rpn
4. set_cclfile /etc/koha/zebradb/ccl.properties
5. find date-entered-on-file,st-numeric < 23000
6. format xml
7. elements zebra::snippet
8. show 1
9. Note that only 5 digits appear in the "date-entered-on-file" snippet (e.g.
12082)

--
Apply the patch

0a. cp etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
0b. koha-rebuild-zebra -b -f -v kohadev

1. yaz-client unix:/var/run/koha/kohadev/bibliosocket
2. base biblios
3. querytype ccl2rpn
4. set_cclfile /etc/koha/zebradb/ccl.properties
5. find date-entered-on-file,st-numeric < 230000
6. format xml
7. elements zebra::snippet
8. show 1
9. Note that 6 digits appear in the "date-entered-on-file" snippet (e.g.
120829)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list