[Koha-bugs] [Bug 14769] Authorities merge: Set correct indicators in biblio field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 13:24:04 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14769
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #71353|0 |1
is obsolete| |
--- Comment #43 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 71377
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71377&action=edit
Bug 14769: Add tests for _thesaurus_info in ControlledIndicators.t
Apart from adding tests for this sub, we make the following change
too and support it with a test.
The fallback to $code in the construction
$thes_mapping{ $code } // $code // '4'
is removed by this patch. When $code is not in $thes_mapping, we cannot
assume that it is a valid code for a biblio indicator. In this case it is
more safe to mark it as 4 (Source not specified).
Test plan:
Run t/Koha/Authority/ControlledIndicators.t
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list