From: Galen Charlton Date: Fri, 5 Aug 2016 18:16:03 +0000 (-0400) Subject: add add/acknowledge copy alert actions to holdings view menu X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=66829bf99ccff7dc94d58deebdf00086f5de825c;p=working%2FEvergreen.git add add/acknowledge copy alert actions to holdings view menu Signed-off-by: Galen Charlton Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2 b/Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2 index b506f3f405..1e985801b0 100644 --- a/Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2 +++ b/Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2 @@ -71,6 +71,8 @@ label="[% l('Copies') %]"> + @@ -80,6 +82,8 @@ label="[% l('Volumes and Copies') %]"> + diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 90d7fd1b94..ca2d59bbc5 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -1586,6 +1586,17 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e }); } + $scope.selectedHoldingsCopyAlertsAdd = function() { + egCirc.add_copy_alerts(gatherSelectedHoldingsIds()).then(function() { + // no need to refresh grid + }); + } + $scope.selectedHoldingsCopyAlertsManage = function() { + egCirc.manage_copy_alerts(gatherSelectedHoldingsIds()).then(function() { + // no need to refresh grid + }); + } + $scope.attach_to_peer_bib = function() { var copy_list = gatherSelectedHoldingsIds(); if (copy_list.length == 0) return;