[Koha-bugs] [Bug 29511] While editing MARC records, subfields appear in varying order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 23 14:44:08 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29511

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 127955
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127955&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list