This is an automated email from the ASF dual-hosted git repository.
kbhatt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 9b89a3f ATLAS-3593 : UI: Issue with 'Sub-classification' checkbox
filter in Classification Details page
9b89a3f is described below
commit 9b89a3fda36af8b78146cc4dd914c7985739e10b
Author: kevalbhatt <[email protected]>
AuthorDate: Fri Feb 14 17:42:17 2020 +0530
ATLAS-3593 : UI: Issue with 'Sub-classification' checkbox filter in
Classification Details page
---
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];
}