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 fd9f5dc167a76e3c98163b69f5cfe6c77eac819c
Author: prasad pawar <prasad.pa...@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 <pinal.s...@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");
                         }

Reply via email to