[Koha-bugs] [Bug 32937] Zebra: Ignore copyright symbol when searching
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 28 19:18:59 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32937
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #149736|0 |1
is obsolete| |
--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 150404
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150404&action=edit
Bug 32937: Make Zebra ignore the copyright symbol in searches
It's common to catalog the year with the copyright symbol attached
to it. This creates some issues with search that we can fix by
adding the © to the list of characters Zebra ignores in search.
To test:
* Search for any existing publication year with ©, example: ©1951
* Verify your record is not found
* Add the copyright symbol to a record, verify it's now found with ©,
but not without
* Apply patch
* On ktd:
* sudo cp -i /kohadevbox/koha/etc/zebradb/etc/word-phrase-utf.chr
/etc/koha/zebradb/etc/word-phrase-utf.chr
* sudo koha-zebra --restart kohadev
* sudo koha-mysql kohadev
* DELETE FROM biblio WHERE biblionumber = 369;
* The reindex woudl fail for me with this broken record present.
* sudo koha-rebuild-zebra -f kohadev
* Repeat searches, the records should be found when searching
with and without ©.
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list