Bug 18262: Koha::Biblio - Remove GetBiblioData - part 1
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 Mar 2017 20:44:25 +0000 (17:44 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Jul 2017 15:22:23 +0000 (12:22 -0300)
commitbd3b1c1a33e4bb14bbcd10a0fcf871b39362430d
tree05e9a2d84f463e4818c6def6348b5b54f152aca2
parent2f1a1fc4b96a91fc054646f91643d8ff46456055
Bug 18262: Koha::Biblio - Remove GetBiblioData - part 1

Most of the time C4::Biblio::GetBiblioData is used to retrieve the title
and/or the author of a bibliographic record.

This patch replaces the easy occurrences of GetBiblioData, the ones
where the 2 joins are needed, but only data from biblio and biblioitems
table are.

Test plan:
It will be hard to test everything, I'd suggest a QAer to review this
patch and confirm that the difference occurrences of GetBiblioData have
been correctly replaced by calling Koha::Biblios->find or
$biblio->bibioitem

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
27 files changed:
C4/Acquisition.pm
C4/Biblio.pm
C4/Circulation.pm
C4/HoldsQueue.pm
C4/Reserves.pm
C4/XISBN.pm
acqui/basketgroup.pl
cataloguing/moveitem.pl
labels/label-item-search.pl
misc/migration_tools/bulkmarcimport.pl
misc/migration_tools/import_lexile.pl
opac/opac-MARCdetail.pl
opac/opac-addbybiblionumber.pl
opac/opac-detail.pl
opac/opac-reserve.pl
opac/opac-review.pl
opac/opac-search.pl
opac/opac-showreviews.pl
opac/opac-tags.pl
reserve/request.pl
reviews/reviewswaiting.pl
serials/serials-edit.pl
serials/subscription-add.pl
tools/batchMod.pl
tools/inventory.pl
tools/showdiffmarc.pl
virtualshelves/addbybiblionumber.pl