[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. e98b486aa86ede645a8d793faa0a8f78e9ae514a

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 01:09:01 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, rel_2_2 has been updated
       via  e98b486aa86ede645a8d793faa0a8f78e9ae514a (commit)
      from  50d99d255055856a2a417dd10fb4ef54149bf82b (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 e98b486aa86ede645a8d793faa0a8f78e9ae514a
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