From: a. bellenir Date: Mon, 4 Jun 2018 23:41:55 +0000 (-0400) Subject: LP#1773434 missing option to "Show in Catalog" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fgcollum%2Flp1773434-show-in-catalog-signoff;p=working%2FEvergreen.git LP#1773434 missing option to "Show in Catalog" Signed-off-by: a. bellenir Signed-off-by: Garry Collum --- 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 08435d0893..8f1124d196 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -10,6 +10,8 @@ + 0) { itemSvc.fetch(null,copyId).then( function() { 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 b1285af922..ef80698909 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 @@ -950,5 +950,11 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog }); } + service.show_in_catalog = function(copy_list){ + angular.forEach(copy_list, function(copy){ + window.open('/eg/opac/record/'+copy['call_number.record.id'], '_blank') + }); + } + return service; }])