]> git.koha-community.org Git - koha.git/commit
Bug 35989: (QA follow-up) Add test and limit variable scope
authorNick Clemens <nick@bywatersolutions.com>
Wed, 29 May 2024 13:54:52 +0000 (13:54 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jun 2024 14:18:42 +0000 (15:18 +0100)
commit95f2aecc1b57b7c4bb8326f9f2fc9366a042a9c1
treeca2770fdb7c8faf23a9a7973cd256af7ca5689dd
parent6c9482f213ba7f65de490f49b1ddf3425a4ab478
Bug 35989: (QA follow-up) Add test and limit variable scope

Before this patch if a record had a 751 and a 781 you could have fields repeated.
This patch reduces the scope of the fields to subdivision variable as it is only used in processing 7xx
fields and should not be shared between fields.

I also add unit tests

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/AuthoritiesMarc.pm
t/db_dependent/AuthoritiesMarc.t