Bug 5790 - Prevent deletion of records with holds - QA Followup
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 5 Feb 2013 13:51:21 +0000 (08:51 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Feb 2013 12:29:45 +0000 (07:29 -0500)
Signed-off-by: Liz Rea <liz@catalyst.net.nz>
fixes qa concerns, feature still works

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc

index 6e99c60..55e8273 100755 (executable)
@@ -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;
index e51a51f..6936532 100644 (file)
@@ -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) {