]> git.koha-community.org Git - koha.git/commit
reduce bib fetches during search and OPAC display
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 10 Feb 2009 22:38:11 +0000 (16:38 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 12 Feb 2009 20:31:55 +0000 (14:31 -0600)
commit4c55cc220fdeea6bd738fc6ab6e37c5a9c3876d0
treee927174850dc71191aa25ea7e04231b2e3a97330
parent05864978c5ca3495db386c3ea6527b11d96ef25e
reduce bib fetches during search and OPAC display

Speed up bib search and OPAC bib display, especially
when the XSLT OPAC results and details display sysprefs are
ON, by passing an existing MARC::Record object to three
functions:

C4::Biblio::get_biblio_authorised_values()
C4::XSLT::XSLTParse4Display()
C4::XSLT::transformMARCXML4XSLT (internal)

These functions previously fetched the bib from the
database, incurring the cost of DB retrieval and MARCXML
parsing even though client code already had a
MARC::Record object available.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Biblio.pm
C4/Search.pm
C4/XSLT.pm
opac/opac-detail.pl