Koha-clms/cataloguing
Nick Clemens 8a0602843e Bug 29511: Sort hash keys
This code exists in authorities/authorities.pl and the hash keys are sorted
I just do the same here

To test:
1 - Find/create a record with 245a 245h populated
2 - Load/reload the record several times and note that fields c and b are ordered randomly
3 - Apply patch
4 - Reload and note c and b are ordered alphabetically
5 - Move subfield h before subfield c
6 - Save and reload
7 - Confirm that existing/filled fields retain order in the MARC record

Signed-off-by: Hayley Pelham <hayleypelham@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d5db394e65)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2022-02-21 15:22:39 +00:00
..
value_builder Bug 24698: QA fixes 2021-10-22 09:50:40 -04:00
addbiblio.pl Bug 29511: Sort hash keys 2022-02-21 15:22:39 +00:00
addbooks.pl Bug 29437: (QA follow-up) Remove Business::ISBN from addbooks 2021-11-19 12:01:58 -05:00
additem.pl Bug 29789: Remove unused $error from cataloguing/additem.pl 2022-01-21 17:45:48 +00:00
editor.pl Bug 27739: Advanced editor should use DefaultCountryField008 preference 2021-04-16 12:28:17 +02:00
linkitem.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
merge.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
merge_ajax.pl Bug 14588: Simplify merge_ajax.pl 2015-08-21 10:21:39 -03:00
moveitem.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
plugin_launcher.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
ysearch.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
z3950_auth_search.pl Bug 11299: Add a button to the biblio edition page to automatically add authority links in the current biblio record via AJAX. Also adds a button to easily create missing authority records. 2021-01-14 14:03:49 +01:00
z3950_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00