From b8467d9dbc9687b5a2749f52c0d2b74fa3476fc2 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Mon, 4 Mar 2024 10:41:36 +0100 Subject: [PATCH] Fix issue where only a maximum of 100 concordances were loaded Increased to 10000 because we need to give some limit. --- src/items/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/index.js b/src/items/index.js index 2252f74b..8ac89d23 100644 --- a/src/items/index.js +++ b/src/items/index.js @@ -457,7 +457,7 @@ export async function loadAncestors(concept, { registry, force = false } = {}) { export const concordances = ref([]) export async function loadConcordances() { try { - const result = _.flatten(await Promise.all(store.getters.concordanceRegistries.map(r => r.getConcordances()))) + const result = _.flatten(await Promise.all(store.getters.concordanceRegistries.map(r => r.getConcordances({ params: { limit: 10000 } })))) const previousLength = concordances.value?.length _.forEach(result, (concordance, index) => { // Set values of concordance array