]> git.koha-community.org Git - koha.git/commit
Bug 13976: Sort popularity numerically in Zebra
authorNick Clemens <nick@bywatersolutions.com>
Mon, 21 Nov 2022 19:12:46 +0000 (19:12 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 3 May 2023 19:08:50 +0000 (21:08 +0200)
commitc4ccac2bc3a0ac199b950730f4a490ca4ad8a98c
treea09212dc25c33f441089af39b4e4efd5b177e52a
parent0b18e0b07eacd8cafa90bdb3bdccaecd1c886f9c
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>
(cherry picked from commit 45cea7c7ba548ffc24976c1b574de295792d0793)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
(cherry picked from commit feea08b03c51648b5a53a021edc726833f475e8f)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9fb9e29c1e6e5dde0a0caace536daf73441519cf)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/Search.pm