[Koha-bugs] [Bug 24480] Fields added with MARC modifications templates are not added in an ordered way

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 15 23:35:12 CEST 2023


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

Phil Ringnalda <phil at chetcolibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #155717|0                           |1
        is obsolete|                            |

--- Comment #43 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 155724
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155724&action=edit
Bug 24480: (follow-up) Adjust tests

With the way the patchset alters to use insert_fields_ordered, we now add
fields to the beginning of their number group as opposed to appending before.
We just need ot shift the order we expect the fields to end up in to make the
tests pass

To test:
1 - Apply all patches except this
2 - prove -v t/SimpleMARC.t t/db_dependent/MarcModificationTemplates.t
3 - It fails
4 - Apply this
5 - prove -v t/SimpleMARC.t t/db_dependent/MarcModificationTemplates.t
6 - It passes

Signed-off-by: Phil Ringnalda <phil at chetcolibrary.org>

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


More information about the Koha-bugs mailing list