fix(EventListsOverview): fixed bug that pagination on event lists overview is not working
Build and Push Docker image / build-and-push (push) Successful in 1m57s
Details
Build and Push Docker image / build-and-push (push) Successful in 1m57s
Details
This commit is contained in:
parent
5a00293157
commit
0fa3248aaa
|
@ -99,7 +99,7 @@ export default function EventListsOverview({event}: { event: EventModel }) {
|
|||
|
||||
const listsQuery = useQuery({
|
||||
queryKey: ["event", event.id, "lists", `page-${activePage}`, `search-${listSearchQuery}`],
|
||||
queryFn: async () => (await pb.collection('eventLists').getList(1, 10, {
|
||||
queryFn: async () => (await pb.collection('eventLists').getList(activePage, 50, {
|
||||
filter: `event = '${event.id}'` + (listSearchQuery ? ` && name ~ '${listSearchQuery}'` : ''),
|
||||
}))
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue