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

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

commit b9d4dd113a8ac12227b301daba3065f64d749d1d
Author: prasad pawar <prasad.pa...@freestoneinfotech.com>
AuthorDate: Wed Sep 8 14:27:16 2021 +0530

    ATLAS-4414:#1 UI: (New UI) Clicking the clear button should erase the 
search input in advanced DSL pop-up box (drop-down), fixed
    
    Signed-off-by: Pinal Shah <pinal.s...@freestoneinfotech.com>
---
 dashboardv3/public/js/views/search/SearchDefaultLayoutView.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dashboardv3/public/js/views/search/SearchDefaultLayoutView.js 
b/dashboardv3/public/js/views/search/SearchDefaultLayoutView.js
index 468e83a..23dc560 100644
--- a/dashboardv3/public/js/views/search/SearchDefaultLayoutView.js
+++ b/dashboardv3/public/js/views/search/SearchDefaultLayoutView.js
@@ -101,6 +101,9 @@ define(["require", "backbone", "utils/Globals", 
"hbs!tmpl/search/SearchDefaultLa
                     var notifyObj = {
                         modal: true,
                         ok: function(argument) {
+                            if (Utils.getUrlState.getQueryParams().searchType 
=== "dsl") {
+                                Globals.advanceSearchData = {};
+                            }
                             Utils.setUrl({
                                 url: '#!/search',
                                 mergeBrowserUrl: false,

Reply via email to