mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Encode default search param
This commit is contained in:
parent
87da7d6a93
commit
09771927c9
@ -110,7 +110,7 @@ export default ['$stateParams', '$scope', '$state', 'QuerySet', 'GetBasePath', '
|
||||
|
||||
function setDefaults(term) {
|
||||
if ($scope.list.defaultSearchParams) {
|
||||
return $scope.list.defaultSearchParams(term);
|
||||
return $scope.list.defaultSearchParams(encodeURIComponent(term));
|
||||
} else {
|
||||
return {
|
||||
search: encodeURIComponent(term)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user