Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Jan 2022 10:03:15 +0000 (11:03 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 18:24:11 +0000 (15:24 -0300)
commit70d61d80fbf48df4d2a3843ea3349ea77de5fbf8
tree3345faf399ed0cdfac7d9bd2c60a748b5e09b745
parent790bab24b156610999d915352371a3b4f71e34cb
Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
JD Amended patch:
-# FIXME Special case here

-    print "Biblio not found\n,";
+    print "Biblio not found\n";

- my $biblio = Koha::Biblio->find($hostbiblionumber);
+ my $biblio = Koha::Biblios->find($hostbiblionumber);

Rebased-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
44 files changed:
C4/AuthoritiesMarc.pm
C4/Biblio.pm
C4/Items.pm
C4/Labels/Label.pm
C4/Serials.pm
C4/ShelfBrowser.pm
Koha/BackgroundJob/BatchUpdateBiblio.pm
Koha/Exporter/Record.pm
Koha/UI/Form/Builder/Item.pm
acqui/neworderempty.pl
basket/basket.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
catalogue/showmarc.pl
cataloguing/addbiblio.pl
cataloguing/additem.pl
cataloguing/linkitem.pl
cataloguing/merge.pl
cataloguing/value_builder/marc21_linking_section.pl
cataloguing/value_builder/unimarc_field_4XX.pl
misc/add_date_fields_to_marc_records.pl
misc/batchRepairMissingBiblionumbers.pl
misc/cronjobs/check-url-quick.pl
misc/link_bibs_to_authorities.pl
misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl
misc/maintenance/process_record_through_filter.pl
misc/maintenance/remove_items_from_biblioitems.pl
misc/maintenance/sanitize_records.pl
misc/maintenance/touch_all_biblios.pl
misc/migration_tools/22_to_30/missing090field.pl
misc/migration_tools/22_to_30/rebuild_unimarc_100.pl
misc/migration_tools/buildEDITORS.pl
misc/migration_tools/create_analytical_rel.pl
misc/migration_tools/import_lexile.pl
misc/migration_tools/switch_marc21_series_info.pl
misc/migration_tools/upgradeitems.pl
opac/opac-basket.pl
opac/opac-reserve.pl
opac/opac-shelves.pl
opac/opac-showreviews.pl
opac/tracklinks.pl
t/db_dependent/Authority/Merge.t
tools/batch_delete_records.pl
virtualshelves/shelves.pl