From c24c80f7642af9d4a98fe6c5ef655e847892b393 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 31 Jan 2013 09:27:08 -0500 Subject: [PATCH] Bug 5790 - Prevent deletion of records with holds - QA Followup --- catalogue/imageviewer.pl | 3 +++ catalogue/labeledMARCdetail.pl | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl index a5f86a5..59498c0 100755 --- a/catalogue/imageviewer.pl +++ b/catalogue/imageviewer.pl @@ -78,4 +78,7 @@ $template->{VARS}->{'norequests'} = $norequests; $template->param(C4::Search::enabled_staff_search_views); $template->{VARS}->{'biblio'} = $biblio; +my ( $holdcount, $holds ) = GetReservesFromBiblionumber($biblionumber,1); +$template->param( holdcount => $holdcount, holds => $holds ); + output_html_with_http_headers $query, $cookie, $template->output; diff --git a/catalogue/labeledMARCdetail.pl b/catalogue/labeledMARCdetail.pl index b8c7982..a7e490d 100755 --- a/catalogue/labeledMARCdetail.pl +++ b/catalogue/labeledMARCdetail.pl @@ -136,4 +136,7 @@ $template->param ( C4::Search::enabled_staff_search_views, ); +my ( $holdcount, $holds ) = GetReservesFromBiblionumber($biblionumber,1); +$template->param( holdcount => $holdcount, holds => $holds ); + output_html_with_http_headers $query, $cookie, $template->output; -- 1.7.2.5