[Koha-bugs] [Bug 17515] Advanced Editor - Rancor - Z39 sources not sorted properly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 27 17:51:05 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17515
--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 112585
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112585&action=edit
Bug 17515: Order Z3950 server by rank and preserve ordering
Previously we put all the servers into an object with keys of the server id
This patch converts it to an array of objects to preserve order, and adjusts
code to use the array index
where necessary and store the server id within the array
To test:
1 - Add some new Z3950 servers, they don't need to be valid
FIRST
SECOND
THIRD
FOURTH
2 - Adjust the ranking so FOURTH:1 THIRD:2 SECOND:3 FIRST:4
3 - Enable and launch the advanced editor
4 - Click 'Advanced' under search on the left
5 - Note the list displays in the order you entered the servers
6 - Apply patch
7 - Reload
8 - Order is correct
9 - With valid servers, confirm that searching still works and servers can be
checked or unchecked to include/remove from results
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list