[open-ils-commits] [GIT] Evergreen ILS branch master updated. 619eb2ff60e05cfbfce3d378081f406fdc60782a
Evergreen Git
git at git.evergreen-ils.org
Fri May 31 10:41:27 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 619eb2ff60e05cfbfce3d378081f406fdc60782a (commit)
from 038a4007470834cb449e5110c2bb395a86efe0a7 (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 619eb2ff60e05cfbfce3d378081f406fdc60782a
Author: Kyle Huckins <khuckins at catalyte.io>
Date: Fri May 24 19:55:44 2019 +0000
LP#1789256 Monograph Part Column in Check Out
Retrieve and display the label of all monograph parts for
copy listed in the Check Out table
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_checkout.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
index d4fce7c391..c7c6fc54b8 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
@@ -152,6 +152,7 @@
<eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
<eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
<eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
+ <eg-grid-field path="_monograph_part" label="[% l('Monograph Part') %]" parent-idl-class="bmp" hidden></eg-grid-field>
<eg-grid-field path="acn.prefix.label" label="[% l('CN Prefix') %]" parent-idl-class="acn" hidden></eg-grid-field>
<eg-grid-field path="acn.suffix.label" label="[% l('CN Suffix') %]" parent-idl-class="acn" hidden></eg-grid-field>
<eg-grid-field path="record.*" parent-idl-class="mvr" hidden></eg-grid-field>
diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js
index 724ae7fee6..3e5c57d441 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/services/circ.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/services/circ.js
@@ -361,6 +361,12 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog, egAddCopyAl
data.route_to = data.acp.location().name();
}
}
+ // allow us to get at the monograph parts associated with a copy
+ if (payload.copy && payload.copy.parts()) {
+ data._monograph_part = payload.copy.parts().map(function(part) {
+ return part.label();
+ }).join(',');
+ }
egWorkLog.record(
(worklog_action == 'checkout' || worklog_action == 'noncat_checkout')
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2 | 1 +
Open-ILS/web/js/ui/default/staff/circ/services/circ.js | 6 ++++++
2 files changed, 7 insertions(+)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list