Bugzilla – Attachment 28524 Details for
Bug 11169
OPAC: Display acquisition details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11169: (follow-up) only count orders that have been placed
Bug-11169-follow-up-only-count-orders-that-have-be.patch (text/plain), 1.30 KB, created by
Galen Charlton
on 2014-05-28 18:32:56 UTC
(
hide
)
Description:
Bug 11169: (follow-up) only count orders that have been placed
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2014-05-28 18:32:56 UTC
Size:
1.30 KB
patch
obsolete
>From 15963448e246a642bf254a47967d7b810ae34f31 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >Date: Wed, 28 May 2014 18:28:29 +0000 >Subject: [PATCH] Bug 11169: (follow-up) only count orders that have been > placed > >This patch ensures that only orders that have been placed (i.e., >orders whose basket is closed) are counted in the OPACAcquisitionsDetails >display. > >To test: > >[1] Turn on OPACAcquisitionsDetails and set AcqCreateItem to 'ordering'. >[2] Create an order for a record, but do not close the basket. >[3] View the record in the OPAC. It should not display any order count. >[4] Close the bakset. >[5] View the record in the OPAC again. This time, it should display > the count of items on order. > >Signed-off-by: Galen Charlton <gmc@esilibrary.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 4a193b8..224bf82 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -603,7 +603,7 @@ my ( @itemnumbers_on_order ); > if ( C4::Context->preference('OPACAcquisitionDetails' ) ) { > my $orders = C4::Acquisition::SearchOrders({ > biblionumber => $biblionumber, >- pending => 1, >+ ordered => 1, > }); > my $total_quantity = 0; > for my $order ( @$orders ) { >-- >1.7.10.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 11169
:
22594
|
22595
|
25654
|
25657
|
26082
|
26083
|
26084
|
26330
|
26331
|
26332
|
26343
|
26344
|
26345
|
27018
|
27019
|
27020
|
28045
|
28419
|
28483
|
28511
|
28512
|
28522
|
28523
| 28524 |
33522