Koha-clms/Koha/Biblio
Tomas Cohen Arazi b503cfe2be
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: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-02-18 19:17:20 +01:00
..
ItemGroup Bug 33568: Item groups 2024-04-05 15:34:47 +02:00
Metadata Bug 28478: Add get_opac_suppression extractor 2025-02-18 19:17:20 +01:00
ItemGroup.pm Bug 31140: TestBuilder.t is failing on item groups modules 2022-07-12 10:31:35 -03:00
ItemGroups.pm Bug 24857: Add Koha Objects 2022-07-08 15:59:51 -03:00
Metadata.pm Bug 31224: Move item field removal up to $metadata->record 2024-11-08 11:23:44 +01:00
Metadatas.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00