Bug 38693

Summary: dedup_authorities.pl - Add methods match-subfield and get-subfield
Product: Koha Reporter: Olli-Antti Kivilahti <olli-antti.kivilahti>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: Failed QA --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=Bug
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13706
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 38693 - dedup_authorities.pl - Add methods match-subfield and get-subfield

Description Olli-Antti Kivilahti 2024-12-12 20:05:07 UTC
Enables choosing the authority record with the biggest 001
--method="get-subfield=001"

Enables choosing the authority record from a specific cataloguing source
--method="match-subfield=040.a=FI-NL"

With this combination authority records from a national authorities repository can be merged to unofficial local authorities, while also overwriting duplicate old records from the same source.
Comment 1 Olli-Antti Kivilahti 2024-12-12 20:11:27 UTC
Created attachment 175420 [details] [review]
Bug 38693 - dedup_authorities.pl - Add methods match-subfield and get-subfield

Bug 38693 - dedup_authorities.pl - Add methods match-subfield and get-subfield

Enables choosing the authority record with the biggest 001
--method="get-subfield=001"

Enables choosing the authority record from a specific cataloguing source
--method="match-subfield=040.a=FI-NL"

With this combination authority records from a national authorities
repository can be merged to unofficial local authorities, while also
overwriting duplicate old records from the same source.
Comment 2 Olli-Antti Kivilahti 2024-12-12 20:12:14 UTC
commit file has different filepaths than a koha-dev environment