Bug 38693 - dedup_authorities.pl - Add methods match-subfield and get-subfield
Summary: dedup_authorities.pl - Add methods match-subfield and get-subfield
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 20:05 UTC by Olli-Antti Kivilahti
Modified: 2024-12-12 21:15 UTC (History)
2 users (show)

See Also:
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 (4.10 KB, patch)
2024-12-12 20:11 UTC, Olli-Antti Kivilahti
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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