]> git.koha-community.org Git - koha.git/commit
Bug 24564: Use the same tab as the other subfields within a field
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 1 Apr 2021 09:04:35 +0000 (11:04 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 May 2021 14:14:48 +0000 (16:14 +0200)
commit25da495b2d58e9de94a35318a92ba79b778600d5
tree8a56ad7fb3d1fb5720cc22b21e3a0949ceae134e
parent1440eb532d4bd2abdc76b4955cabb492283737a7
Bug 24564: Use the same tab as the other subfields within a field

For each subfield added, we check if other subfields exists in the same
field. If that's the case we use the same tab as the first subfield
found.

Test plan:
1. Find a biblio subfield in
   misc/migration_tools/ifla/data/biblio/default.yml that doesn't exist
   in your default biblio MARC framework (or delete one). The field
   should exist and have other subfields with a tab set.
2. Change the tab of all subfields within that field it's different from
   what's in the .yml file
3. Run misc/migration_tools/ifla/update.pl
4. Verify that the subfield has been added and have the same tab as
   others subfields
5. Do the same for authorities (files are in
   misc/migration_tools/ifla/data/auth/)

Signed-off-by: Koha team <koha@univ-lyon.fr>
Signed-off-by: sonia <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c74f6848ed119b2a2fff687f3bddf87d23e20fd7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/migration_tools/ifla/update.pl