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 0328d40ab5c93617442e9a707fef3eadcd3bbd3c 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,