LP#1773434 missing option to "Show in Catalog"
[Evergreen.git] / Open-ILS / web / js / ui / default / staff / circ / services / item.js
index 6fab179..9ac1215 100644 (file)
@@ -976,6 +976,12 @@ 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;
 }])
 .filter('string_pick', function() { return function(i){ return arguments[i] || ''; }; })