Bugzilla – Attachment 64752 Details for
Bug 17738
Move GetReservesFromBorrowernumber to Koha::Patron->holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17738: [QA Follow-up] Remove second find of same patron
Bug-17738-QA-Follow-up-Remove-second-find-of-same-.patch (text/plain), 868 bytes, created by
Marcel de Rooy
on 2017-06-30 10:08:22 UTC
(
hide
)
Description:
Bug 17738: [QA Follow-up] Remove second find of same patron
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-06-30 10:08:22 UTC
Size:
868 bytes
patch
obsolete
>From 685c088d243d2f4cdea18afe46b50afae8b3845b Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 30 Jun 2017 12:02:00 +0200 >Subject: [PATCH] Bug 17738: [QA Follow-up] Remove second find of same patron >Content-Type: text/plain; charset=utf-8 > >We can just use the $patron from line 77 here. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > opac/opac-reserve.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 86582d8..9ddbb26 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -199,7 +199,6 @@ foreach my $biblioNumber (@biblionumbers) { > if ( $query->param('place_reserve') ) { > my $reserve_cnt = 0; > if ($maxreserves) { >- my $patron = Koha::Patrons->find( $borrowernumber ); > $reserve_cnt = $patron->holds->count; > } > >-- >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 17738
:
58020
|
58021
|
62109
|
62110
|
62188
|
62189
|
62208
|
62219
|
64330
|
64331
|
64332
|
64749
|
64750
|
64751
| 64752