mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 06:58:06 -03:30
Look at $state.params instead of $stateParams when firing off search
This commit is contained in:
parent
071f84d224
commit
ac5f8e7c19
@ -97,7 +97,7 @@ export function ProjectsList($scope, $rootScope, $location, $log, $stateParams,
|
||||
|
||||
$scope.reloadList = function(){
|
||||
let path = GetBasePath(list.basePath) || GetBasePath(list.name);
|
||||
qs.search(path, $stateParams[`${list.iterator}_search`])
|
||||
qs.search(path, $state.params[`${list.iterator}_search`])
|
||||
.then(function(searchResponse) {
|
||||
$scope[`${list.iterator}_dataset`] = searchResponse.data;
|
||||
$scope[list.name] = $scope[`${list.iterator}_dataset`].results;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user