Skip to content

Commit b45b496

Browse files
ATLAS-5067:UI: Apache Atlas Glossary becomes unresponsive when the page size is set to 50. (#398)
1 parent 2d4b81b commit b45b496

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

dashboardv2/public/js/views/glossary/GlossaryDetailLayoutView.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,8 @@ define(['require',
245245
}
246246
} else {;
247247
Utils.showTitleLoader(this.$('.page-title .fontLoader'), this.ui.details);
248-
var getApiFunctionKey = "getCategory",
248+
var getApiFunctionKey =this.isTermView? "getTerm" : "getCategory",
249249
that = this;
250-
if (this.isTermView) {
251-
getApiFunctionKey = "getTerm";
252-
}
253250
this.glossaryCollection[getApiFunctionKey]({
254251
"guid": this.guid,
255252
"ajaxOptions": {
@@ -542,7 +539,9 @@ define(['require',
542539
"value": {
543540
"searchType": "basic",
544541
"term": that.data.qualifiedName,
545-
"includeDE": options.value.includeDE || false
542+
"includeDE": options.value.includeDE || false,
543+
"pageLimit": options.value.pageLimit || 25,
544+
"pageOffset": options.value.pageOffset || 0,
546545
},
547546
"fromView": "glossary"
548547
})));

dashboardv2/public/js/views/search/SearchResultLayoutView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ define(['require',
363363
Utils.setUrl(_.extend({
364364
url: Utils.getUrlState.getQueryUrl().queyParams[0],
365365
urlParams: this.columnOrder ? _.extend(this.value, { 'uiParameters': this.getColumnOrderWithPosition() }) : this.value,
366-
mergeBrowserUrl: false,
366+
mergeBrowserUrl: Utils.getUrlState.isGlossaryTab()?true:false,
367367
trigger: false,
368368
updateTabState: true
369369
}, options));

0 commit comments

Comments
 (0)