[Koha-bugs] [Bug 28011] Add CLI script to update bibs from linked authority records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 26 05:08:26 CEST 2021


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
Created attachment 121405
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121405&action=edit
Bug 28011: Add CLI script to update bib headings from linked auth records

This patch adds a script which updates bib headings from authority
records. This helps normalize the headings to remove differences
in punctuation, capitalization, etc.

This can be useful to run after link_bibs_to_authorities.pl.

Test plan:
1. Apply the patch
2. Go to
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=192
3. Mangle the HTML to remove the accents from 100$a and save the record
4. Note the bib record now says "By: O Cadhain, Mairtin" without the accents
5. Run the script
6. Go to
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=192
7. Note that the accents have been restored and it now says "By: Ó Cadhain,
Máirtín"

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list