mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
Fix wrong pagination handling in concordance
This commit is contained in:
parent
cef82d9001
commit
dd05657362
@ -449,7 +449,7 @@ class CorpusAnalysisConcordance {
|
|||||||
this.app.disableActionElements();
|
this.app.disableActionElements();
|
||||||
this.elements.progress.classList.remove('hide');
|
this.elements.progress.classList.remove('hide');
|
||||||
let page = parseInt(paginationTriggerElement.dataset.target);
|
let page = parseInt(paginationTriggerElement.dataset.target);
|
||||||
subcorpus.o.paginate(page, this.settings.perPage, this.settings.context)
|
subcorpus.o.paginate(this.settings.context, page, this.settings.perPage)
|
||||||
.then(
|
.then(
|
||||||
(paginatedSubcorpus) => {
|
(paginatedSubcorpus) => {
|
||||||
subcorpus.p = paginatedSubcorpus;
|
subcorpus.p = paginatedSubcorpus;
|
||||||
|
Loading…
Reference in New Issue
Block a user