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@catalyte.io>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
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') %]"
});
}
+ $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) {