]> git.koha-community.org Git - koha.git/commit
Bug 29511: Sort hash keys
authorNick Clemens <nick@bywatersolutions.com>
Tue, 23 Nov 2021 13:39:57 +0000 (13:39 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 16:06:47 +0000 (11:06 -0500)
commitd5db394e65c0c16d924a195bf68abefc2375a1a4
tree2cebba6c7bda813ff94335c81c363de0a8f46575
parenta96c944c17c6fbeb399077732ab81664e469cb08
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>
cataloguing/addbiblio.pl