Bug 5790 - Prevent deletion of records with holds - QA Followup

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>
This commit is contained in:
Kyle Hall 2013-02-05 08:51:21 -05:00 committed by Jared Camins-Esakov
parent 700f9980bb
commit bc4fd0710f
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View 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) {