[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
Tue Oct 31 15:51:39 CET 2023


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #47 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 158133
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158133&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>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list