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:
parent
700f9980bb
commit
bc4fd0710f
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue