Koha-clms/Koha/Biblio
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
..
ItemGroup Bug 33568: Item groups 2024-04-05 15:34:47 +02:00
Metadata Bug 28478: Add get_opac_suppression extractor 2025-03-06 13:54:26 +01:00
ItemGroup.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ItemGroups.pm Bug 24857: Add Koha Objects 2022-07-08 15:59:51 -03:00
Metadata.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Metadatas.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00