[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 7a607fc74533318b1da061adf61c17806f43ac66

Evergreen Git git at git.evergreen-ils.org
Fri May 31 10:34:01 EDT 2019


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_3_1 has been updated
       via  7a607fc74533318b1da061adf61c17806f43ac66 (commit)
      from  1cce56abb3b439f49bf590129da8bc6db47f8f5f (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 7a607fc74533318b1da061adf61c17806f43ac66
Author: Kyle Huckins <khuckins at catalyte.io>
Date:   Fri May 24 17:16:00 2019 +0000

    lp1789257 Items Out Monograph Part Column
    
    Retrieve and display the label of all monograph parts for
    copy listed in the Items Out table
    
    To test
    -------
    [1] Apply the patch.
    [2] Check out an item that has one or more monograph parts
        linked to it.
    [3] Verify that the Monograph Part column is available in the
        Items Out grid and displays the part label(s). An example
        of an item in the Concerto set that has a part is
        CONC70001420.
    
    Signed-off-by: Kyle Huckins <khuckins at catalyte.io>
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
index 748766e6e5..669462cd67 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
@@ -106,6 +106,7 @@
   <eg-grid-field path="target_copy.call_number.suffix.label" label="[% l('CN Suffix') %]" hidden></eg-grid-field>
   <eg-grid-field path="target_copy.call_number.record.*" hidden></eg-grid-field>
   <eg-grid-field path="target_copy.call_number.record.wide_display_entry.*" hidden></eg-grid-field>
+  <eg-grid-field path="_parts" label="[% l('Monograph Part') %]" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Total Notices') %]" path='action_trigger_event_count'></eg-grid-field>
   <eg-grid-field label="[% l('Last Notice') %]" path='action_trigger_latest_event_date' dateformat="short" datatype="timestamp"></eg-grid-field>
 </eg-grid>
diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
index f34628e223..31593b49f6 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
@@ -108,7 +108,8 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc ,
             {   flesh : 4,
                 flesh_fields : {
                     circ : ['target_copy', 'workstation', 'checkin_workstation'],
-                    acp : ['call_number', 'holds_count', 'status', 'circ_lib', 'location', 'floating', 'age_protect'],
+                    acp : ['call_number', 'holds_count', 'status', 'circ_lib', 'location', 'floating', 'age_protect', 'parts'],
+                    acpm : ['part'],
                     acn : ['record', 'owning_lib', 'prefix', 'suffix'],
                     bre : ['wide_display_entry']
                 },
@@ -140,6 +141,9 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc ,
                     isbn : function() {return circ.target_copy().dummy_isbn()}
                 })
             }
+            circ._parts = circ.target_copy().parts().map(function(part) {
+                return part.label()
+            }).join(',');
 
 	    // call open-ils to get overdue notice count and  Last notice date
 	    

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

Summary of changes:
 Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2  | 1 +
 Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list