You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by pi...@apache.org on 2021/09/08 13:59:30 UTC

[atlas] 02/03: ATLAS-4404: #1 UI: Left side Panel doesn't toggled to Advanced Search after Switching from New-UI to Old-UI, fixed

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 9f270729eadeed0fcfc6aecf25b3afb130cac2e5
Author: prasad pawar <pr...@freestoneinfotech.com>
AuthorDate: Mon Sep 6 12:41:15 2021 +0530

    ATLAS-4404: #1 UI: Left side Panel doesn't toggled to Advanced Search after Switching from New-UI to Old-UI, fixed
    
    Signed-off-by: Pinal Shah <pi...@freestoneinfotech.com>
---
 dashboardv2/public/js/views/search/SearchLayoutView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dashboardv2/public/js/views/search/SearchLayoutView.js b/dashboardv2/public/js/views/search/SearchLayoutView.js
index be46d7e..408f1fe 100644
--- a/dashboardv2/public/js/views/search/SearchLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchLayoutView.js
@@ -685,7 +685,7 @@ define(['require',
                 }
                 if (this.value) {
                     this.ui.searchInput.val(this.value.query || "");
-                    if (this.value.dslChecked == "true") {
+                    if (this.value.dslChecked == "true" || this.value.searchType === "dsl") {
                         if (!this.ui.searchType.prop("checked")) {
                             this.ui.searchType.prop("checked", true).trigger("change");
                         }