diff --git a/app/js/controllers.js b/app/js/controllers.js index 241a912..6f01475 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -1164,7 +1164,7 @@ angular.module('myApp.controllers', []) $scope.active.sort.reverse = false; } - $scope.updateGrid($scope.active.variable, $scope.active.docIndex, true); + $scope.updateGrid(variable, $scope.active.docIndex, true); }