Fix: Would not navigate as the search was referencing unresolved variables.

This commit is contained in:
tanshu 2017-02-10 13:33:40 +05:30
parent 374664e9ab
commit a77293e0b2
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ var ProductLedgerController = ['$scope', '$routeParams', '$location', 'asDateFil
$scope.info = data; $scope.info = data;
}); });
} else { } else {
$location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', startDate).search('FinishDate', finishDate); $location.path('/ProductLedger/' + $scope.info.Product.ProductID).search('StartDate', $scope.info.StartDate).search('FinishDate', $scope.info.FinishDate);
} }
}; };
$scope.downloadTable = function () { $scope.downloadTable = function () {