This is an automated email from the ASF dual-hosted git repository.

pinal pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit 5939e739f4475aaa90efd38123d2524bfdd15806
Author: prasad pawar <prasad.pa...@freestoneinfotech.com>
AuthorDate: Tue Sep 14 21:21:22 2021 +0530

    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.s...@freestoneinfotech.com>
---
 dashboardv3/public/js/views/search/tree/CustomFilterTreeLayoutView.js | 4 ++++
 1 file changed, 4 insertions(+)

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 @@ define([
                             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."

Reply via email to