From bc4fd0710f282d8b955a5511d4eb3fa4ef170f7c Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 5 Feb 2013 08:51:21 -0500 Subject: [PATCH] Bug 5790 - Prevent deletion of records with holds - QA Followup Signed-off-by: Liz Rea fixes qa concerns, feature still works Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- catalogue/moredetail.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl index 6e99c6016b..55e827320f 100755 --- a/catalogue/moredetail.pl +++ b/catalogue/moredetail.pl @@ -35,6 +35,7 @@ use C4::Circulation; # to use itemissues use C4::Members; # to use GetMember use C4::Search; # enabled_staff_search_views use C4::Members qw/GetHideLostItemsPreference/; +use C4::Reserves qw(GetReservesFromBiblionumber); use Koha::DateUtils; my $query=new CGI; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index e51a51ff86..6936532c3a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -40,7 +40,7 @@ } else if ( holdcount > 0 ) { is_confirmed = confirm( holdcount + " " + _("holds(s) for this record \n Are you sure you want to delete this record?.")); } else { - is_confirmed = confirm(_('Are you sure you want to delete this record? ')); + is_confirmed = confirm(_("Are you sure you want to delete this record?")); } if (is_confirmed) { -- 2.39.5