[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 3e29888a078690ecc1e58c6daa4ce3c4d9c270c6

Evergreen Git git at git.evergreen-ils.org
Fri May 25 17:17:33 EDT 2018


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_0 has been updated
       via  3e29888a078690ecc1e58c6daa4ce3c4d9c270c6 (commit)
       via  bc6b25bdc9a8d4e9bbf9e9057182a8687e3d4caf (commit)
      from  ce0d0d8567689a11bae4643f14801a14066e3bb5 (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 3e29888a078690ecc1e58c6daa4ce3c4d9c270c6
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Fri May 25 17:12:59 2018 -0400

    Docs: Release notes entry for lp1732975
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    
    Conflicts:
    	docs/RELEASE_NOTES_3_1.adoc

diff --git a/docs/RELEASE_NOTES_3_0.adoc b/docs/RELEASE_NOTES_3_0.adoc
index e6cdc1a..d088424 100644
--- a/docs/RELEASE_NOTES_3_0.adoc
+++ b/docs/RELEASE_NOTES_3_0.adoc
@@ -124,6 +124,7 @@ General
 * Evergreen will now identify and handle invalid timezones.
 * Fixes an issue where a column header in some interfaces were automatically
 highlighted in green when retrieving the interface.
+* The parts column in the Item Status screen now displays parts data.
 
 
 

commit bc6b25bdc9a8d4e9bbf9e9057182a8687e3d4caf
Author: Kyle Huckins <khuckins at catalyte.io>
Date:   Wed May 2 17:47:04 2018 +0000

    lp1732975 Parts Column Not Populated
    
    - Retrieve Parts information in egItem
    
    Signed-off-by: Kyle Huckins <khuckins at catalyte.io>
    
     Changes to be committed:
    	modified:   Open-ILS/src/templates/staff/cat/item/t_list.tt2
    	modified:   Open-ILS/web/js/ui/default/staff/circ/services/item.js
    
    Signed-off-by: Jeanette Lundgren <jlundgren at cwmars.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 b/Open-ILS/src/templates/staff/cat/item/t_list.tt2
index 253ddef..4e15057 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2
@@ -117,7 +117,7 @@
   <eg-grid-field label="[% l('OPAC Visible?') %]"         path="opac_visible" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Owned By') %]"              path="call_number.record.owner" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Owning Library') %]"        path="call_number.owning_lib.shortname" hidden></eg-grid-field>
-  <eg-grid-field label="[% l('Parts') %]"                 path="parts" hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Parts') %]"                 path="parts.label" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Price') %]"                 path="price" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Publication Date') %]"      path="call_number.record.simple_record.pubdate" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Publisher') %]"             path="call_number.record.simple_record.publisher" hidden></eg-grid-field>
diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/item.js b/Open-ILS/web/js/ui/default/staff/circ/services/item.js
index b94921e..4fc62ad 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/services/item.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/services/item.js
@@ -170,6 +170,18 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
                 copyData.copy._inHouseUseCount = uses.length;
             });
 
+            //Get Monograph Parts
+            egCore.pcrud.search('acpm',
+                {target_copy: flatCopy.id},
+                { flesh : 1, flesh_fields : { acpm : ['part'] } },
+                {atomic :true})
+            .then(function(acpm_array) {
+                angular.forEach(acpm_array, function(acpm) {
+                    flatCopy.parts = egCore.idl.toHash(acpm.part());
+                    copyData.copy.parts = egCore.idl.toHash(acpm.part());
+                });
+            });
+
             return lastRes = {
                 copy : copyData.copy,
                 index : flatCopy.index

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

Summary of changes:
 Open-ILS/src/templates/staff/cat/item/t_list.tt2   |    2 +-
 .../web/js/ui/default/staff/circ/services/item.js  |   12 ++++++++++++
 docs/RELEASE_NOTES_3_0.adoc                        |    1 +
 3 files changed, 14 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list