HOTFIX: update skip calculation to consider filter limit #1559

Merged
jsegarra merged 2 commits from hotfix_paginate_limit_filter into master 2025-03-05 13:19:34 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ae71c80fb3 - Show all commits

View File

@ -245,7 +245,7 @@ export function useArrayData(key, userOptions) {
async function loadMore() {
if (!store.hasMoreData) return;
store.skip = store.limit * store.page;
store.skip = (store?.filter?.limit ?? store.limit) * store.page;
store.page += 1;
await fetch({ append: true });