Replies: 1 comment
-
|
I think i found my answer here: #1005 (comment) However, I'm still struggling with a clean implementation for pagination in Vue. Since |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to implement server-side sorting/pagination as described in the Query Collection documentation.
My goal is to pass the sort state to my API so that the sorting happens across the entire dataset rather than just the locally loaded collection. However, I’ve noticed that
ctx.meta?.loadSubsetOptions.sortByis undefined inside thequeryFn, even whenuseLiveQueryhas anorderByclause defined.Here is a reproduction: https://stackblitz.com/edit/vitejs-vite-fquuxvzq?file=src%2FApp.vue
Am I missing a configuration step to "bridge" the useLiveQuery requirements back to the queryCollectionOptions context?
Beta Was this translation helpful? Give feedback.
All reactions