Bugzilla – Attachment 139239 Details for
Bug 31313
Remove GetItemsInfo from opac-detail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31313: Fix holds_count and priority
Bug-31313-Fix-holdscount-and-priority.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2022-08-17 08:16:56 UTC
(
hide
)
Description:
Bug 31313: Fix holds_count and priority
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-08-17 08:16:56 UTC
Size:
1.04 KB
patch
obsolete
>From 9d822839cc723d0cb44d9443f99c6ea33390f41f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 17 Aug 2022 10:16:26 +0200 >Subject: [PATCH] Bug 31313: Fix holds_count and priority > >--- > opac/opac-detail.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 9e9c0eadb02..1c5e7949abd 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -682,8 +682,8 @@ if ( not $viewallitems and $items->count > $max_items_to_display ) { > else { > while ( my $item = $items->next ) { > my $item_info = $item->unblessed; >- $item->{holds_count} = $item_reserves{ $item->itemnumber }; >- $item->{priority} = $priority{ $item->itemnumber }; >+ $item_info->{holds_count} = $item_reserves{ $item->itemnumber }; >+ $item_info->{priority} = $priority{ $item->itemnumber }; > > $allow_onshelf_holds = Koha::CirculationRules->get_onshelfholds_policy( > { item => $item, patron => $patron } ) >-- >2.25.1
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 31313
:
138821
|
138822
|
138847
|
138848
|
139119
|
139120
|
139121
|
139122
|
139193
| 139239 |
139693
|
139694
|
139695
|
139761
|
139762
|
139763