LP#1773434: show in catalog
authora. bellenir <ab@grpl.org>
Tue, 12 Jun 2018 18:54:18 +0000 (14:54 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 13 Sep 2018 14:28:11 +0000 (10:28 -0400)
open a new staff client tab to the record's opac view, not a new opac tab

Signed-off-by: a. bellenir <ab@grpl.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/circ/services/item.js

index 9ac1215..3bb09b0 100644 (file)
@@ -978,7 +978,7 @@ 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')
+            window.open('/eg/staff/cat/catalog/record/'+copy['call_number.record.id']+'/catalog', '_blank')
         });
     }