[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. 4062a68ccfcff1893ac5f2ec735ca40718ee3f4b

Evergreen Git git at git.evergreen-ils.org
Sat Jul 11 08:41:52 EDT 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, rel_3_5 has been updated
       via  4062a68ccfcff1893ac5f2ec735ca40718ee3f4b (commit)
      from  6ff6e8cd5413306663065e70ee84e581894bb767 (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 4062a68ccfcff1893ac5f2ec735ca40718ee3f4b
Author: Mike Risher <mrisher at catalyte.io>
Date:   Thu Feb 20 23:07:30 2020 +0000

    lp1735828 Copy Bucket multi show status
    
    Revise the web client so that when one is in the copy bucket one can
    select multiple entries and do "show status" on all of them.
    
    Signed-off-by: Mike Risher <mrisher at catalyte.io>
    Signed-off-by: Tiffany Little <tlittle at georgialibraries.org>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>

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 adc1f5013a..98bf38b80b 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
@@ -18,6 +18,8 @@
     handler="requestItems"></eg-grid-action>
   <eg-grid-action label="[% l('Edit Selected Items') %]" group="[% l('Items') %]"
     handler="spawnHoldingsEdit"></eg-grid-action>
+  <eg-grid-action handler="showItems" group="[% l('Show') %]"
+    label="[% l('Open in Item Status') %]"></eg-grid-action>  
   <eg-grid-action handler="print_labels" group="[% l('Show') %]"
     label="[% l('Print Labels') %]"></eg-grid-action>
   <eg-grid-action label="[% l('Transfer Selected Items to Marked Call Number') %]" group="[% l('Items') %]"
diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js
index bebb642c56..e7aeccd1ce 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js
@@ -615,6 +615,15 @@ function($scope,  $q , $routeParams , $timeout , $window , $uibModal , bucketSvc
         });
     }
 
+    $scope.showItems = function() {
+        var cp_list = []
+        angular.forEach($scope.gridControls.selectedItems(), function (i) {
+            cp_list.push(i.id);
+        })
+        var url = egCore.env.basePath + '/cat/item/search/' + cp_list.join();
+        $timeout(function() { $window.open(url, '_blank') });
+    }
+
     $scope.requestItems = function() {
         var copy_list = $scope.gridControls.selectedItems().map(
             function (i) {

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

Summary of changes:
 Open-ILS/src/templates/staff/cat/bucket/copy/t_view.tt2 | 2 ++
 Open-ILS/web/js/ui/default/staff/cat/bucket/copy/app.js | 9 +++++++++
 2 files changed, 11 insertions(+)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list