[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 15fb95fa94977ae643b9e156a0122761c499f632

Evergreen Git git at git.evergreen-ils.org
Fri May 25 17:16:01 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_1 has been updated
       via  15fb95fa94977ae643b9e156a0122761c499f632 (commit)
       via  7b27f92ccf8bad063da58b050059a41c1941c102 (commit)
      from  e1b26ddd21886c6880b50ba002f5d65d2f69d673 (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 15fb95fa94977ae643b9e156a0122761c499f632
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>

diff --git a/docs/RELEASE_NOTES_3_0.adoc b/docs/RELEASE_NOTES_3_0.adoc
index ed92ed0..dbdd509 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.
 
 
 
diff --git a/docs/RELEASE_NOTES_3_1.adoc b/docs/RELEASE_NOTES_3_1.adoc
index ee17573..ec8da29 100644
--- a/docs/RELEASE_NOTES_3_1.adoc
+++ b/docs/RELEASE_NOTES_3_1.adoc
@@ -134,6 +134,7 @@ AngularJS versions (such as 1.7) from breaking the build process.
 * 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.
 
 
 Acknowledgements

commit 7b27f92ccf8bad063da58b050059a41c1941c102
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 09a073d..a7de8ec 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2
@@ -120,7 +120,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 963c0c9..b1285af 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
@@ -174,6 +174,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 +
 docs/RELEASE_NOTES_3_1.adoc                        |    1 +
 4 files changed, 15 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list