[Koha-bugs] [Bug 31286] Embed see-from headings into bibliographic records export

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 03:31:59 CEST 2022


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

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 138520
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138520&action=edit
Bug 31286: Embed see-from headings into bibliographic records export

In misc/export_records.pl add an option to add see-from headings (from
authorities 4xx) into bibliographic records export.
Like it is done during record indexing.

Test plan :
1) Choose a biblio record having a field (for example 650) linked to an
authority with a see-form.
2) Export this record without see-from headings :
   misc/export_records.pl --starting_biblionumber=X --ending_biblionumber=X
--filename /tmp/record_without.xml --format xml
3) Export this record with see-from headings :
   misc/export_records.pl --starting_biblionumber=X --ending_biblionumber=X
--filename /tmp/record_with.xml --format xml --embed_see_from_headings
4) Compare /tmp/record_without.xml and /tmp/record_with.xml
=> you should see two 650, one with main heading and one with see-from heading

-- 
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