Bugzilla – Attachment 61416 Details for
Bug 17736
Move GetReservesFromBiblionumber to Koha::Biblio->holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17736: Fix typo ->new vs ->next
Bug-17736-Fix-typo--new-vs--next.patch (text/plain), 1.09 KB, created by
Martin Renvoize (ashimema)
on 2017-03-21 19:32:51 UTC
(
hide
)
Description:
Bug 17736: Fix typo ->new vs ->next
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2017-03-21 19:32:51 UTC
Size:
1.09 KB
patch
obsolete
>From ce4842a8b8a90b5b898f72d182a463738758b82a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 3 Feb 2017 10:45:13 +0100 >Subject: [PATCH] Bug 17736: Fix typo ->new vs ->next > >while ->new is terrible, let's call that a typo... > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >opac-detail works again ! > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > opac/opac-detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 1c9f73b..52deec6 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -595,7 +595,7 @@ if ( $show_holds_count || $show_priority) { > my $biblio = Koha::Biblios->find( $biblionumber ); > my $holds = $biblio->holds; > $template->param( holds_count => $holds->count ); >- while ( my $hold = $holds->new ) { >+ while ( my $hold = $holds->next ) { > $item_reserves{ $hold->itemnumber }++ if $hold->itemnumber; > if ($show_priority && $hold->borrowernumber == $borrowernumber) { > $has_hold = 1; >-- >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 17736
:
58015
|
58016
|
58017
|
58056
|
58057
|
58106
|
58107
|
58108
|
58628
|
58629
|
58630
|
58631
|
58632
|
58633
|
58634
|
58635
|
58636
|
58637
|
58638
|
58639
|
58640
|
58641
|
58642
|
58643
|
58644
|
58645
|
59846
|
59847
|
59848
|
59849
|
59850
|
59851
|
59852
|
59853
|
59854
|
59855
|
59859
|
59860
|
61406
|
61407
|
61408
|
61409
|
61410
|
61411
|
61412
|
61413
|
61414
|
61415
| 61416