Bugzilla – Attachment 85798 Details for
Bug 22360
On order information missing in OPAC normal display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22360: (bug 21205 follow-up) Restore OPACAcquisitionDetails behavior
Bug-22360-bug-21205-follow-up-Restore-OPACAcquisit.patch (text/plain), 1.34 KB, created by
Josef Moravec
on 2019-02-27 20:39:54 UTC
(
hide
)
Description:
Bug 22360: (bug 21205 follow-up) Restore OPACAcquisitionDetails behavior
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-02-27 20:39:54 UTC
Size:
1.34 KB
patch
obsolete
>From bc0f25e1fc66fe019a3121d15566dea4f4ba055d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Feb 2019 15:28:10 -0300 >Subject: [PATCH] Bug 22360: (bug 21205 follow-up) Restore > OPACAcquisitionDetails behavior > >Caused by > commit 7d10549ae8632e6640d3a99014268a2a1e46b3c4 > Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls > >At this point $order is a Koha::Acquisition::Order object, not a hashref >anymore. > >Test plan: >Create an order, receive items >Enable OPACAcquisitionDetails >At the detail page of the bibliographic record you should see >"X items are on order." at the bottom of the items list > >Signed-off-by: Josef Moravec <josef.moravec@gmail.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 751f804..8e9aa59 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -662,7 +662,7 @@ if ( C4::Context->preference('OPACAcquisitionDetails' ) ) { > if ( $basket->effective_create_items eq 'ordering' ) { > @itemnumbers_on_order = $order->items->get_column('itemnumber'); > } >- $total_quantity += $order->{quantity}; >+ $total_quantity += $order->quantity; > } > $template->{VARS}->{acquisition_details} = { > total_quantity => $total_quantity, >-- >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 22360
:
85230
|
85231
|
85232
|
85474
|
85798
|
85803