From dd05657362c49a4ef5c974a535ba43d0146dbc41 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 24 Jul 2023 13:48:01 +0200 Subject: [PATCH] Fix wrong pagination handling in concordance --- app/static/js/CorpusAnalysis/CorpusAnalysisConcordance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/CorpusAnalysis/CorpusAnalysisConcordance.js b/app/static/js/CorpusAnalysis/CorpusAnalysisConcordance.js index 11ac9d2f..6af78603 100644 --- a/app/static/js/CorpusAnalysis/CorpusAnalysisConcordance.js +++ b/app/static/js/CorpusAnalysis/CorpusAnalysisConcordance.js @@ -449,7 +449,7 @@ class CorpusAnalysisConcordance { this.app.disableActionElements(); this.elements.progress.classList.remove('hide'); 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( (paginatedSubcorpus) => { subcorpus.p = paginatedSubcorpus;