issue#9: Increase the limit of the displayed events on home page to the max (99)
This commit is contained in:
parent
49a9d27020
commit
a883f2467a
|
@ -31,7 +31,7 @@
|
||||||
:event="event"
|
:event="event"
|
||||||
:key="event.uuid"
|
:key="event.uuid"
|
||||||
/>
|
/>
|
||||||
<more-content
|
<!--<more-content
|
||||||
:to="{
|
:to="{
|
||||||
name: RouteName.SEARCH,
|
name: RouteName.SEARCH,
|
||||||
query: {
|
query: {
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
{{ t("View more events") }}
|
{{ t("View more events") }}
|
||||||
</more-content>
|
</more-content>-->
|
||||||
</template>
|
</template>
|
||||||
</close-content>
|
</close-content>
|
||||||
</template>
|
</template>
|
||||||
|
@ -71,6 +71,7 @@ const { result: resultEvents, loading: loadingEvents } = useQuery<{
|
||||||
}>(FETCH_EVENTS, {
|
}>(FETCH_EVENTS, {
|
||||||
orderBy: EventSortField.BEGINS_ON,
|
orderBy: EventSortField.BEGINS_ON,
|
||||||
direction: SortDirection.ASC,
|
direction: SortDirection.ASC,
|
||||||
|
limit: 99
|
||||||
});
|
});
|
||||||
const events = computed(
|
const events = computed(
|
||||||
() => resultEvents.value?.events ?? { total: 0, elements: [] }
|
() => resultEvents.value?.events ?? { total: 0, elements: [] }
|
||||||
|
|
Loading…
Reference in a new issue