[open-ils-commits] [GIT] Evergreen ILS branch master updated. be9f2cccfe464d1fb99f686e1f09e4c2ba70d953

Evergreen Git git at git.evergreen-ils.org
Wed Sep 12 14:33:51 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, master has been updated
       via  be9f2cccfe464d1fb99f686e1f09e4c2ba70d953 (commit)
       via  5eaa1710418e237cd6ec9745b9c77e978b5fba5d (commit)
      from  bacd986156c1551bd5f9cbfca44aa49c66f2ec20 (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 be9f2cccfe464d1fb99f686e1f09e4c2ba70d953
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Mon Sep 10 11:23:12 2018 -0700

    LP 1743654: Removing a duplicate flesh_fields array entry
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: John Amundson <jamundson at cwmars.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

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 1ec1458..6fab179 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
@@ -15,7 +15,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
     service.flesh = {   
         flesh : 4,
         flesh_fields : {
-            acp : ['call_number','location','status','location','floating','circ_modifier',
+            acp : ['call_number','location','status','floating','circ_modifier',
                 'age_protect','circ_lib','copy_alerts', 'creator', 'editor', 'circ_as_type', 'latest_inventory'],
             acn : ['record','prefix','suffix','label_class'],
             bre : ['simple_record','creator','editor'],

commit 5eaa1710418e237cd6ec9745b9c77e978b5fba5d
Author: Jane Sandberg <sandbej at linnbenton.edu>
Date:   Mon Sep 10 11:16:51 2018 -0700

    LP1743654: Fleshing out the Created By column in Item Status
    
    To test:
    1) Scan an item into Item Status.
    2) Turn on the Created By column.
    3) Note that the Created By column shows the ID of the user
    that created the record.
    4) Apply this commit and repeat steps 1-2.
    5) Note that the Created By column now shows the creator's
    user name as a link, which opens the creator's record in
    a new tab.
    
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: John Amundson <jamundson at cwmars.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

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 f9fba84..1d250f8 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2
@@ -102,7 +102,14 @@
   <eg-grid-field label="[% l('Circulation Modifier') %]"  path="circ_modifier.name" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Copy ID') %]"               path="id" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Copy Number') %]"           path="copy_number" hidden></eg-grid-field>
-  <eg-grid-field label="[% l('Created By') %]"            path="creator" hidden></eg-grid-field>
+
+  <eg-grid-field label="[% l('Created By') %]"
+    path="creator" hidden>
+    <a target="_blank" href="[% ctx.base_path %]/staff/circ/patron/{{item['creator.id']}}/checkout">
+      {{item['creator.usrname']}} <span ng-show="item['creator.id']" class="glyphicon glyphicon-new-window"/>
+    </a>
+  </eg-grid-field>
+
   <eg-grid-field label="[% l('Date Created') %]"          path="create_date" datatype="timestamp" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Date Last Edited') %]"      path="edit_date" datatype="timestamp" hidden></eg-grid-field>
   <eg-grid-field label="[% l('Date Record Created') %]"   path="call_number.record.create_date" datatype="timestamp" 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 b03f57d..1ec1458 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
@@ -16,7 +16,7 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
         flesh : 4,
         flesh_fields : {
             acp : ['call_number','location','status','location','floating','circ_modifier',
-                'age_protect','circ_lib','copy_alerts', 'editor', 'circ_as_type', 'latest_inventory'],
+                'age_protect','circ_lib','copy_alerts', 'creator', 'editor', 'circ_as_type', 'latest_inventory'],
             acn : ['record','prefix','suffix','label_class'],
             bre : ['simple_record','creator','editor'],
             alci : ['inventory_workstation']

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

Summary of changes:
 Open-ILS/src/templates/staff/cat/item/t_list.tt2   |    9 ++++++++-
 .../web/js/ui/default/staff/circ/services/item.js  |    4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list