(bug #4051) add due date in overdue.tmpl
[koha.git] / opac / opac-MARCdetail.pl
index 51d1579..a0d2e90 100755 (executable)
@@ -48,6 +48,7 @@ use MARC::Record;
 use C4::Biblio;
 use C4::Acquisition;
 use C4::Koha;
+use C4::Items; # GetItemsCount
 
 my $query = new CGI;
 
@@ -76,6 +77,8 @@ $template->param(
 
 $template->param( 'AllowOnShelfHolds' => C4::Context->preference('AllowOnShelfHolds') );
 $template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) );
+$template->param( 'ItemsCount' => GetItemsCount( $biblionumber ) );
+$template->param(C4::Search::enabled_opac_search_views);
 
 # adding the $RequestOnOpac param
 my $RequestOnOpac;