Disabled searchLimit in search

This commit is contained in:
Alexis
2024-04-08 13:58:22 +02:00
parent 592a1ef10a
commit 8b871bbb8f

View File

@@ -28,7 +28,7 @@ function handleJumpToDate(date?: LeimDate) {
const searchLimit = 10
const activeSearchLimit = computed<number>(() => (!props.currentEntity ? searchLimit : 9999))
const resultsToDisplay = computed(() => props.results.slice(0, activeSearchLimit.value))
const resultsToDisplay = computed(() => props.results)
const sortedResults = computed(() => {
return [...resultsToDisplay.value].sort((a, b) => {
let firstDate: LeimDate