From: Bill Erickson Date: Thu, 4 Feb 2021 16:34:40 +0000 (-0500) Subject: LP1914630 Create MARC record goes to AngstCat X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=169c4b1b690f07bd7c429ba80a599467a39ce76a;p=evergreen%2Fpines.git LP1914630 Create MARC record goes to AngstCat 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 Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 5678a98260..5789dba3ec 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -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; } });