[open-ils-commits] [GIT] Evergreen ILS branch master updated. f196bc2ac10b6c40b18d7a3378ba2dbb9e37d219

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 01:09:00 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  f196bc2ac10b6c40b18d7a3378ba2dbb9e37d219 (commit)
      from  ebecc44027af204c8f5ec8ca790a4753dbcf2fc3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f196bc2ac10b6c40b18d7a3378ba2dbb9e37d219
Author: Bill Erickson <berick at esilibrary.com>
Date:   Tue Dec 4 11:04:08 2012 -0500

    ACQ: repair lineitem cancel-reason fleshing
    
    When fetching lineitems for display in the general lineitem list page,
    if the lineitem is cancelled, be sure we correctly retrieve the
    cancel-reason object.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem.pm
index c36bf60..47687f8 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Lineitem.pm
@@ -113,7 +113,7 @@ sub retrieve_lineitem_impl {
     push(@{$fields->{jub}   },'lineitem_notes') if $$options{flesh_notes};
     push(@{$fields->{acqlin}},    'alert_text') if $$options{flesh_notes};
     push(@{$fields->{jub}   }, 'order_summary') if $$options{flesh_order_summary};
-    push(@{$fields->{acqlin}}, 'cancel_reason') if $$options{flesh_cancel_reason};
+    push(@{$fields->{jub}   }, 'cancel_reason') if $$options{flesh_cancel_reason};
 
     if($$options{flesh_li_details}) {
         push(@{$fields->{jub}   }, 'lineitem_details');

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Acq/Lineitem.pm        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list