From 6794afb28489f3ef537c57ab375d5bc0204747c9 Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 11 Jun 2018 11:56:33 -0400 Subject: [PATCH] Maintain reference to querySet rather than cloning so that changes made after initialization will propagate --- .../client/src/shared/smart-search/smart-search.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/shared/smart-search/smart-search.controller.js b/awx/ui/client/src/shared/smart-search/smart-search.controller.js index 2ac0550a2b..3a53ddf0aa 100644 --- a/awx/ui/client/src/shared/smart-search/smart-search.controller.js +++ b/awx/ui/client/src/shared/smart-search/smart-search.controller.js @@ -40,7 +40,7 @@ function SmartSearchController ( } if ($scope.querySet) { - queryset = _.cloneDeep($scope.querySet); + queryset = $scope.querySet; } else { queryset = $state.params[searchKey]; }