From bab3860d53fd118f82e0d1c44d6f847342afb723 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 19 Feb 2020 10:36:56 -0500 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/reporter/template/app.js | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.11.0