ATLAS-4418:#1 UI: (New UI) Saved Advanced search filter parameters are not present in the advanced dsl search popup box after selection, fixed

Signed-off-by: Pinal Shah <pinal.shah@freestoneinfotech.com>
diff --git a/dashboardv3/public/js/views/search/tree/CustomFilterTreeLayoutView.js b/dashboardv3/public/js/views/search/tree/CustomFilterTreeLayoutView.js
index 8e4b4b3..eadd641 100644
--- a/dashboardv3/public/js/views/search/tree/CustomFilterTreeLayoutView.js
+++ b/dashboardv3/public/js/views/search/tree/CustomFilterTreeLayoutView.js
@@ -369,6 +369,10 @@
                             entityDefCollection: that.entityDefCollection
                         });
                     searchType === 'ADVANCED' ? that.isBasic = false : that.isBasic = true;
+                    if (searchType === 'ADVANCED') {
+                        Globals.advanceSearchData.searchByQuery = searchParameters.query;
+                        Globals.advanceSearchData.searchByType = searchParameters.typeName;
+                    }
                     _.extend({}, this.options.value, params);
                     // Utils.notifyInfo({
                     //     content: "Saved values are selected."