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

Evergreen Git git at git.evergreen-ils.org
Thu Feb 20 11:39:25 EST 2020


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  4340cf61c3310c45368e250537126383f8c172aa (commit)
      from  2bb8e3c61a5b801c7e8d8d382ca747cd2368ea12 (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 4340cf61c3310c45368e250537126383f8c172aa
Author: Kyle Huckins <khuckins at catalyte.io>
Date:   Tue Jan 21 22:38:13 2020 +0000

    lp1654529 Callnumber Sorting by Sortkey in Transit & Copy Buckets
    
    - Add column for label_sortkey, displaying the data for a
    Callnumber's Label.
    
    Signed-off-by: Kyle Huckins <khuckins at catalyte.io>
    
     Changes to be committed:
            modified:   Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2
            modified:   Open-ILS/src/templates/staff/circ/transits/t_list.tt2
    
    Signed-off-by: Terran McCanna <tmccanna at georgialibraries.org>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2 b/Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2
index 5eb522ce5a..adc1f5013a 100644
--- a/Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2
+++ b/Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2
@@ -34,7 +34,8 @@
       {{item['barcode']}}
     </a>
   </eg-grid-field>
-  <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
+  <eg-grid-field label="[% l('Call Number') %]" path="call_number.label_sortkey" visible><span>{{item['call_number.label']}}</span></eg-grid-field>
+  <eg-grid-field label="[% l('Call Number Label') %]" path="call_number.label" hidden required></eg-grid-field>
   <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
   <eg-grid-field label="[% l('CN Suffix') %]" path="call_number.suffix.label"></eg-grid-field>
   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
diff --git a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2
index 425cd2f833..d15120021e 100644
--- a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2
+++ b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2
@@ -53,7 +53,8 @@
   <eg-grid-field path='target_copy.circ_lib.shortname' hidden></eg-grid-field>
   <eg-grid-field path='target_copy.location.name' label="[% l('Shelving Location') %]" hidden sortable></eg-grid-field>
   <eg-grid-field label="[% l('CN Prefix') %]" path="target_copy.call_number.prefix.label"></eg-grid-field>
-  <eg-grid-field path='target_copy.call_number.label' hidden sortable></eg-grid-field>
+  <eg-grid-field path='target_copy.call_number.label_sortkey' hidden sortable>{{item['target_copy.call_number.label']}}</eg-grid-field>
+  <eg-grid-field path='target_copy.call_number.label' hidden required sortable></eg-grid-field>
   <eg-grid-field label="[% l('CN Suffix') %]" path="target_copy.call_number.suffix.label"></eg-grid-field>
   <eg-grid-field path='target_copy.call_number.record.simple_record.title' label="[% l('Title') %]" sortable>
     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['target_copy.call_number.record.simple_record.id']}}">

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

Summary of changes:
 Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2 | 3 ++-
 Open-ILS/src/templates/staff/circ/transits/t_list.tt2   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list