Bug 13976: Sort popularity numerically in Zebra
authorNick Clemens <nick@bywatersolutions.com>
Mon, 21 Nov 2022 19:12:46 +0000 (19:12 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 10:40:00 +0000 (12:40 +0200)
commit45cea7c7ba548ffc24976c1b574de295792d0793
tree06bdc6e6a94d17abfe22981fed8c526753810449
parent561dac93358d74f188f18937daefe7813405b644
Bug 13976: Sort popularity numerically in Zebra

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 - Restart all
10 - Reload search results
11 - Success! Sorted correctly

Signed-off-by: Anke <anke.bruns@gwdg.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Search.pm