C4::Biblio::GetBiblio can be replaced with Koha Biblio->find
Test plan:
Import batch, view issue history, search for items, see the image of a
bibliographic record, modify and delete records in a batch
Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
$logger->info("C4::ImportBatch::BatchRevertRecords: Biblio record $biblionumber does not exist, restoration of this record was skipped")unless$oldbiblio;
nextunless$oldbiblio;# Record has since been deleted. Deleted records should stay deleted.
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Checkout history for <i>[% title |html %]</i></div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Checkout history for <i>[% biblio.title |html %]</i></div>
<div id="doc3" class="yui-t2">
@ -31,8 +31,8 @@ $(document).ready(function() {
<div id="yui-main">
<div class="yui-b">
<h1>Checkout history for [% title |html %]</h1>
[% IF ( author ) %]<h3>by [% author %]</h3>[% END %]
<h1>Checkout history for [% biblio.title |html %]</h1>
[% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %]
<div class="searchresults">
[% IF ( issues ) %]
@ -92,7 +92,7 @@ $(document).ready(function() {
</table>
[% ELSE %]
<div class="dialog message"><p>
<b>[% title |html %][% IF ( author ) %], by [% author %][% END %]</b> has never been checked out.</p></div>
<b>[% biblio.title |html %][% IF biblio.author %], by [% biblio.author %][% END %]</b> has never been checked out.</p></div>