Bugzilla – Attachment 14974 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
Bug-5790---Prevent-deletion-of-records-with-holds-.patch (text/plain), 1.37 KB, created by
Kyle M Hall (khall)
on 2013-01-31 14:27:28 UTC
(
hide
)
Description:
Bug 5790 - Prevent deletion of records with holds - QA Followup
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-01-31 14:27:28 UTC
Size:
1.37 KB
patch
obsolete
>From c24c80f7642af9d4a98fe6c5ef655e847892b393 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 31 Jan 2013 09:27:08 -0500 >Subject: [PATCH] Bug 5790 - Prevent deletion of records with holds - QA Followup > >--- > catalogue/imageviewer.pl | 3 +++ > catalogue/labeledMARCdetail.pl | 3 +++ > 2 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl >index a5f86a5..59498c0 100755 >--- a/catalogue/imageviewer.pl >+++ b/catalogue/imageviewer.pl >@@ -78,4 +78,7 @@ $template->{VARS}->{'norequests'} = $norequests; > $template->param(C4::Search::enabled_staff_search_views); > $template->{VARS}->{'biblio'} = $biblio; > >+my ( $holdcount, $holds ) = GetReservesFromBiblionumber($biblionumber,1); >+$template->param( holdcount => $holdcount, holds => $holds ); >+ > output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/catalogue/labeledMARCdetail.pl b/catalogue/labeledMARCdetail.pl >index b8c7982..a7e490d 100755 >--- a/catalogue/labeledMARCdetail.pl >+++ b/catalogue/labeledMARCdetail.pl >@@ -136,4 +136,7 @@ $template->param ( > C4::Search::enabled_staff_search_views, > ); > >+my ( $holdcount, $holds ) = GetReservesFromBiblionumber($biblionumber,1); >+$template->param( holdcount => $holdcount, holds => $holds ); >+ > output_html_with_http_headers $query, $cookie, $template->output; >-- >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