LP1888723 Traditional catalog still uses traditional holdings editor
authorBill Erickson <berickxx@gmail.com>
Mon, 12 Jul 2021 16:54:14 +0000 (12:54 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:56:50 +0000 (19:56 -0400)
Avoid sending staff to the new holdings editor from within the
traditional catalog, so there remains a way to get to the traditional
editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index 116c2ab..5789dba 100644 (file)
@@ -1395,8 +1395,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
             }
         ).then(function(key) {
             if (key) {
-                //var url = egCore.env.basePath + 'cat/volcopy/' + key;
-                var url = '/eg2/staff/cat/volcopy/session/' + key;
+                var url = egCore.env.basePath + 'cat/volcopy/' + key;
                 $timeout(function() { $window.open(url, '_blank') });
             } else {
                 alert('Could not create anonymous cache key!');