You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by kb...@apache.org on 2020/02/21 06:25:28 UTC
[atlas] 02/03: ATLAS-3593 : UI: Issue with 'Sub-classification'
checkbox filter in Classification Details page
This is an automated email from the ASF dual-hosted git repository.
kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 1624e3fc1517196f8f121a6232a487cfc53d9661
Author: kevalbhatt <kb...@apache.org>
AuthorDate: Fri Feb 14 17:42:17 2020 +0530
ATLAS-3593 : UI: Issue with 'Sub-classification' checkbox filter in Classification Details page
(cherry picked from commit 9b89a3fda36af8b78146cc4dd914c7985739e10b)
---
dashboardv2/public/js/views/search/SearchResultLayoutView.js | 2 +-
dashboardv3/public/js/views/search/SearchResultLayoutView.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
index a94a0f7..2bd829b 100644
--- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
@@ -631,7 +631,7 @@ define(['require',
nameCheck = 0,
columnToShow = null,
col = {};
- this.value = Utils.getUrlState.getQueryParams();
+ this.value = Utils.getUrlState.getQueryParams() || this.value;
if (this.value && this.value.searchType === "basic" && this.searchTableColumns && (this.searchTableColumns[this.value.type] !== undefined)) {
columnToShow = this.searchTableColumns[this.value.type] == null ? [] : this.searchTableColumns[this.value.type];
}
diff --git a/dashboardv3/public/js/views/search/SearchResultLayoutView.js b/dashboardv3/public/js/views/search/SearchResultLayoutView.js
index f11d903..01083ff 100644
--- a/dashboardv3/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv3/public/js/views/search/SearchResultLayoutView.js
@@ -642,7 +642,7 @@ define(['require',
nameCheck = 0,
columnToShow = null,
col = {};
- this.value = Utils.getUrlState.getQueryParams();
+ this.value = Utils.getUrlState.getQueryParams() || this.value;
if (this.value && this.value.searchType === "basic" && this.searchTableColumns && (this.searchTableColumns[this.value.type] !== undefined)) {
columnToShow = this.searchTableColumns[this.value.type] == null ? [] : this.searchTableColumns[this.value.type];
}