Koha-clms/Koha/Biblio/Metadata
Tomas Cohen Arazi c50b8dc50e
Bug 28478: Add get_opac_suppression extractor
This patch adds an extractor method for the historically hardcoded field
942$n. This way we have a single place in which we code the extraction
and sanitization of its value.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC.t
=> SUCCESS: Tests pass! All use cases are covered!
3. Sign off :-D

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-03-06 13:54:26 +01:00
..
Extractor Bug 28478: Add get_opac_suppression extractor 2025-03-06 13:54:26 +01:00
Extractor.pm Bug 34828: Add Koha::Biblio::Metadata::Extractor::MARC 2023-10-09 16:41:31 -03:00