Bug 33170: Refactor MARCItemFieldsToOrder to make adding more fields trivial
authorKyle Hall <kyle@bywatersolutions.com>
Wed, 8 Mar 2023 14:53:07 +0000 (09:53 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 11 Oct 2023 13:31:49 +0000 (10:31 -0300)
commit214a30e65779dfe7a5d22fe7fa23a4164aabe2c6
treef3f124360b7071cb13b847dfb2a6d86f2e2d2659
parentbfd65a2bda8af2403c0a09150c85c5eafe810607
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

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/addorderiso2709.pl