From: Mike Rylander Date: Wed, 19 Feb 2020 15:36:56 +0000 (-0500) Subject: LP#1778521: Reset field transform after adding fields X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=57c24c346f1e36767b76a8291c73b8098c8b644f;p=working%2FEvergreen.git LP#1778521: Reset field transform after adding fields Prior to this commit, the field transform was carried from field to field as each was added to a report. This commit resets the selected transform to the default "Raw data" after adding a field. Signed-off-by: Mike Rylander Signed-off-by: Dawn Dale --- diff --git a/Open-ILS/web/js/ui/default/staff/reporter/template/app.js b/Open-ILS/web/js/ui/default/staff/reporter/template/app.js index 336a28bd75..aa5ca37619 100644 --- a/Open-ILS/web/js/ui/default/staff/reporter/template/app.js +++ b/Open-ILS/web/js/ui/default/staff/reporter/template/app.js @@ -435,6 +435,7 @@ function($scope , $q , $routeParams , $location , $timeout , $window, egCore , $scope.currentPathLabel, $scope.currentPath ); + $scope.selected_transform = null; dgrid.refresh(); } @@ -451,6 +452,7 @@ function($scope , $q , $routeParams , $location , $timeout , $window, egCore , $scope.currentPath, f ); + $scope.selected_transform = null; fgrid.refresh(); }