LP1914630 Create MARC record goes to AngstCat user/berick/lp1914630-create-marc-goes-to-angstcat
authorBill Erickson <berickxx@gmail.com>
Thu, 4 Feb 2021 16:34:40 +0000 (11:34 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 4 Feb 2021 16:34:43 +0000 (11:34 -0500)
Once a new record is created, the user is directed to the record detail
page for the new record in the Angular staff catalog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js

index 5678a98..5789dba 100644 (file)
@@ -263,7 +263,7 @@ function($scope , $routeParams , $location , $window , $q , egCore) {
 
     $scope.$watch('new_bib_id', function(newVal, oldVal) {
         if (newVal) {
-            $location.path('/cat/catalog/record/' + $scope.new_bib_id);
+            location.href = '/eg2/staff/catalog/record/' + $scope.new_bib_id;
         }
     });