This is an automated email from the ASF dual-hosted git repository.
ppawar 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 b45b49656 ATLAS-5067:UI: Apache Atlas Glossary becomes unresponsive
when the page size is set to 50. (#398)
b45b49656 is described below
commit b45b49656663c509e58b583bc0acc05acb9da6aa
Author: Prasad Pawar <[email protected]>
AuthorDate: Fri Jul 11 13:22:10 2025 +0530
ATLAS-5067:UI: Apache Atlas Glossary becomes unresponsive when the page
size is set to 50. (#398)
---
dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js | 9 ++++-----
dashboardv2/public/js/views/search/SearchResultLayoutView.js | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js
b/dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js
index b78e11afa..85d64fd22 100644
--- a/dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js
+++ b/dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js
@@ -245,11 +245,8 @@ define(['require',
}
} else {;
Utils.showTitleLoader(this.$('.page-title .fontLoader'),
this.ui.details);
- var getApiFunctionKey = "getCategory",
+ var getApiFunctionKey =this.isTermView? "getTerm" :
"getCategory",
that = this;
- if (this.isTermView) {
- getApiFunctionKey = "getTerm";
- }
this.glossaryCollection[getApiFunctionKey]({
"guid": this.guid,
"ajaxOptions": {
@@ -542,7 +539,9 @@ define(['require',
"value": {
"searchType": "basic",
"term": that.data.qualifiedName,
- "includeDE": options.value.includeDE || false
+ "includeDE": options.value.includeDE || false,
+ "pageLimit": options.value.pageLimit || 25,
+ "pageOffset": options.value.pageOffset || 0,
},
"fromView": "glossary"
})));
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
index 6f990f2f7..d26045bbb 100644
--- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
@@ -363,7 +363,7 @@ define(['require',
Utils.setUrl(_.extend({
url: Utils.getUrlState.getQueryUrl().queyParams[0],
urlParams: this.columnOrder ? _.extend(this.value, {
'uiParameters': this.getColumnOrderWithPosition() }) : this.value,
- mergeBrowserUrl: false,
+ mergeBrowserUrl:
Utils.getUrlState.isGlossaryTab()?true:false,
trigger: false,
updateTabState: true
}, options));