Bugzilla – Attachment 41912 Details for
Bug 14634
Warns when placing hold on record with no items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14634: Warns when placing hold on record with no items
Bug-14634-Warns-when-placing-hold-on-record-with-n.patch (text/plain), 1.15 KB, created by
Marcel de Rooy
on 2015-08-25 13:01:44 UTC
(
hide
)
Description:
Bug 14634: Warns when placing hold on record with no items
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-08-25 13:01:44 UTC
Size:
1.15 KB
patch
obsolete
>From 18bd33b31d032ddf79561c5a59a24b19aaa5eead Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 3 Aug 2015 02:23:29 +0000 >Subject: [PATCH] Bug 14634: Warns when placing hold on record with no items >Content-Type: text/plain; charset=utf-8 > >To test: > >1) Create a new record in Cataloguing >2) When done, instead of adding an item to the record, click on the Holds tab in the left nav >3) Notice warns >4) Apply patch and refresh page >5) Click on Holds tab again >6) Notice warns are gone and page still works > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Warns disappear; note that the display of the error message is still ugly. >--- > reserve/request.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/reserve/request.pl b/reserve/request.pl >index 62f82a8..0bfe5e9 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -201,6 +201,7 @@ foreach my $biblionumber (@biblionumbers) { > my $dat = GetBiblioData($biblionumber); > > my $canReserve = CanBookBeReserved( $borrowerinfo->{borrowernumber}, $biblionumber ); >+ $canReserve //= ''; > if ( $canReserve eq 'OK' ) { > > #All is OK and we can continue >-- >1.7.10.4
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 14634
:
41308
|
41912
|
41990