]> git.koha-community.org Git - koha.git/commit
Bug 14769: Introduce Koha::Authority::ControlledIndicators
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 26 Jan 2018 10:06:59 +0000 (11:06 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 12 Apr 2018 13:50:34 +0000 (10:50 -0300)
commit5bfa57165e1df549a56d661808efcb5144f970ef
treec05eba9a16aec50daf8d91ceadd9ace2ea2f6fa9
parentaa4d328a3bbe1971a3c4aec9adf8468ce4dbb5c8
Bug 14769: Introduce Koha::Authority::ControlledIndicators

This module reads its settings from pref AuthorityControlledIndicators.
The get method allows you to retrieve indicator values for specific
biblio fields.

Test plan:
Run t/Koha/Authority/ControlledIndicators.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended: Added a test to show that "ind1:" returns empty string.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Authority/ControlledIndicators.pm [new file with mode: 0644]
t/Koha/Authority/ControlledIndicators.t [new file with mode: 0644]