https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35142

--- Comment #14 from David Nind <[email protected]> ---
Created attachment 201841
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201841&action=edit
Bug 35142: Move get_normalized_oclc to base MARC extractor

Moves get_normalized_oclc from the MARC21-specific extractor to the
base ::MARC class (035$a is flavor-independent) with improved matching:

- Case-insensitive OCoLC detection (matches ocolc, OCOLC, etc.)
- Generic orgcode prefix stripping (any parenthesized prefix, not
  just literal "(OCoLC)") for resilience against cataloging typos

Test plan:
   $ prove t/db_dependent/Koha/Biblio/Metadata/Extractor/MARC/MARC21.t

Signed-off-by: Martin Renvoize <[email protected]>
Assisted-by: Sonnet 4.6 (Anthropic)
Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to