This is an automated email from the ASF dual-hosted git repository.

ppawar pushed a commit to branch atlas-2.5
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/atlas-2.5 by this push:
     new fa3c70836 ATLAS-5067:UI: Apache Atlas Glossary becomes unresponsive 
when the page size is set to 50. (#398)
fa3c70836 is described below

commit fa3c7083689d1d313344829a7a28d3d090e70a31
Author: Prasad Pawar <49935882+pawarprasad...@users.noreply.github.com>
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));

Reply via email to