Koha-clms/Koha/Biblio
Tomas Cohen Arazi cddadab517 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: Alex Buckley <alexbuckley@catalyst.net.nz>
(cherry picked from commit b8ff17d259)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-02-26 13:52:45 +01:00
..
ItemGroup Bug 31140: (QA follow-up) Remove leftover POD 2022-07-12 10:44:57 -03:00
Metadata Bug 28478: Add get_opac_suppression extractor 2025-02-26 13:52:45 +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 33270: (QA follow-up) Do not change param hashref 2023-07-18 12:47:00 -03:00
Metadatas.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00