Bugzilla – Attachment 59872 Details for
Bug 17737
Move GetReservesFromItemnumber to Koha::Item->holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17737: [QA Follow-up] Remove unused reservedfor variable
Bug-17737-QA-Follow-up-Remove-unused-reservedfor-v.patch (text/plain), 1.12 KB, created by
Marcel de Rooy
on 2017-02-03 10:51:58 UTC
(
hide
)
Description:
Bug 17737: [QA Follow-up] Remove unused reservedfor variable
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-02-03 10:51:58 UTC
Size:
1.12 KB
patch
obsolete
>From 26b5c342ab03ac08bf7d37083c4414fc0592f42a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 3 Feb 2017 11:49:30 +0100 >Subject: [PATCH] Bug 17737: [QA Follow-up] Remove unused reservedfor variable >Content-Type: text/plain; charset=utf-8 > >The changes in this patch set obsolete this variable. >Remove confusing comment about reserve via host record. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > opac/opac-reserve.pl | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 3881b3d..9b0bffc 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -452,9 +452,6 @@ foreach my $biblioNum (@biblionumbers) { > my $item = Koha::Items->find( $itemNum ); > my $holds = $item->current_holds; > >- # the item could be reserved for this borrower vi a host record, flag this >- my $reservedfor = q||; >- > if ( my $first_hold = $holds->next ) { > my $ItemBorrowerReserveInfo = GetMember( borrowernumber => $first_hold->borrowernumber ); > $itemLoopIter->{backgroundcolor} = 'reserved'; >-- >2.1.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 17737
:
58018
|
58019
|
58673
|
58674
|
58675
|
59872
|
59876
|
59877
|
59878
|
59879
|
62105
|
62106
|
62107
|
62108