X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=catalogue%2FMARCdetail.pl;h=d8079bd75885873618a1a59a086f52c42e48e833;hb=133a9746497b0366203df5ca04cafb2efefa7801;hp=72e6709e5689c2143b182006a161e0d6a0795e34;hpb=4f44847c11add59ab7d0c55aeffac1fa2835cc1f;p=koha.git diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 72e6709e56..d8079bd758 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -82,7 +82,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $record = GetMarcBiblio($biblionumber); +my $record = GetMarcBiblio($biblionumber, 1); $template->param( ocoins => GetCOinSBiblio($record) ); if ( not defined $record ) { @@ -335,4 +335,7 @@ $template->param ( C4::Search::enabled_staff_search_views, ); +my ( $holdcount, $holds ) = C4::Reserves::GetReservesFromBiblionumber($biblionumber,1); +$template->param( holdcount => $holdcount, holds => $holds ); + output_html_with_http_headers $query, $cookie, $template->output;