Bugzilla – Attachment 15243 Details for
Bug 5790
Deleting a biblio should alert/fail if there are existent holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5790 - Prevent deletion of records with holds - QA Followup [ 3.10.x ]
Bug-5790---Prevent-deletion-of-records-with-holds-.patch (text/plain), 1.69 KB, created by
Kyle M Hall (khall)
on 2013-02-11 14:26:06 UTC
(
hide
)
Description:
Bug 5790 - Prevent deletion of records with holds - QA Followup [ 3.10.x ]
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-02-11 14:26:06 UTC
Size:
1.69 KB
patch
obsolete
>From d28fbd69736caf9ba5c7c2794959e633f73baa55 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <liz@catalyst.net.nz> >fixes qa concerns, feature still works > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > catalogue/moredetail.pl | 1 + > .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 2 +- > 2 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl >index 6e99c60..55e8273 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 3e7337e..2d65bcb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >@@ -36,7 +36,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) { >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5790
:
14959
|
14965
|
14974
|
14975
|
14976
|
15029
|
15042
|
15043
|
15044
|
15054
|
15119
|
15128
|
15129
|
15242
| 15243