[Koha-bugs] [Bug 13976] Sorting search results by popularity is alphabetical
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 28 21:31:59 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13976
--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 141068
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141068&action=edit
Bug 13976: Zeropad populariy for Zebra searching
This patch is much eased in testing by bug 31644 which will allow
you to modify totalissues field via modification
To test:
1 - Create a new template at Tools->Marc modification template
2 - Add action: Copy 999$c to 942$0
3 - Create a report:
SELECT biblionuber FROM biblios
4 - Run report, show all, do a batch modification to all records using template
above
5 - Search for 'a' (make sure you are using Zebra)
6 - Sort by popularity
7 - Note records are sorted wrong
8 - Apply patch
9 - Copy files:
cp
/kohadevbox/koha/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
cp
/kohadevbox/koha/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
10 - Restart all, reindex zebra
sudo koha-rebuild-zebra -v -f kohadev
11 - Reload search results
12 - Success! Sorted correctly
Bonus: Test unimarc - same changes
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list