]> git.koha-community.org Git - koha.git/commit
Bug 11844: Take into account itemtypes, branches, and cn_source
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 20 Jan 2023 16:12:21 +0000 (17:12 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 May 2023 10:58:38 +0000 (12:58 +0200)
commit7be92fb26e0b84b8ff07eb6f66ab9f0c1a114f65
treef401a063602023af7dce2d2ca067cbde26ffe64f
parentb997250026b113e7111d11a6b050b6fb0557eda0
Bug 11844: Take into account itemtypes, branches, and cn_source

MARC subfields can be linked to "authorised values" that are not real
authorised values: itemtypes, branches, and cn_source.
Those were not taken into account. This patch fixes that

Test plan:
1. Create additional fields for order lines with a MARC subfield that is
   linked to one of those "fake" authorised values list
2. Follow the same steps as in the main test plan

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Template/Plugin/ClassSources.pm [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/additional-fields-entry.inc
t/db_dependent/Koha/Template/Plugin/ClassSources.t [new file with mode: 0755]