[Koha-bugs] [Bug 33170] Refactor MarcItemFieldsToOrder code to make adding more field simpler

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 8 17:13:20 CET 2023


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 147963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147963&action=edit
Bug 33170: Refactor MARCItemFieldsToOrder to make adding more fields trivial

There is no need for this code to have a hard coded list of fields directly in
the code.
Any invalid keys would be skipped anyway.
If we refactor this code then adding new fields will be much simpler.

Test Plan:
1) Set up your MARCItemFieldsToOrder, verify everything is working
2) Apply this patch
3) Restart all the things!
4) Verify there has been no change to the MARCItemFieldsToOrder
   functionality

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


More information about the Koha-bugs mailing list