]> git.koha-community.org Git - koha.git/commit
Bug 27837: (follow-up) Do not check subfield unless tag defined
authorNick Clemens <nick@bywatersolutions.com>
Tue, 11 May 2021 11:08:17 +0000 (11:08 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 20 May 2021 12:50:15 +0000 (14:50 +0200)
commitb56b902f730cc1178498ae4cbc9ad9f60504f1cc
treeae1a8224e33c1870eae5586bbd723cdd0cd07b1e
parent040861392c39165398aadefb168176d787201d4b
Bug 27837: (follow-up) Do not check subfield unless tag defined

This was causing extra warnings when the permanent_location field was
unmapped.

We only need to check if there is a field defined as you can define a mapping
without both a field and subfield, so the existence of one implies the other

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0e00dc78e4ed01678f037a970487fd871fa3e70f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Items.pm