[open-ils-commits] [GIT] Evergreen ILS branch master updated. 038a4007470834cb449e5110c2bb395a86efe0a7
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, master has been updated
via 038a4007470834cb449e5110c2bb395a86efe0a7 (commit)
from 9bec6841af9d23f8c6d87233952b7992358d4bad (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 038a4007470834cb449e5110c2bb395a86efe0a7
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 c425ad1b65..6c10e6fda0 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 92184a11fa..f0a795fa2c 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