fix(contacts): fetch the requested page on pagination change #134
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mapps-148-pagination-fetch-next-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Companies and Contacts list views computed page/filter/sort snapshots in the component body and captured them by value into the
use_resourceclosure. Dioxususe_resourceonly restarts when a signal read inside the closure changes, so the resource never subscribed to thepagesignal: clicking a page number advanced the "Showing X to Y" footer (rendered from thecurrent_pageprop) but fired no request, leaving the stale page-1 rows on screen.Read the
page, search, filter, and sort signals inside the resource closure so the resource subscribes to them and re-fetches the requested page, binding the returned rows.active_tenant_generationis still read so an org switch / token swap continues to re-fetch.#MAPPS-148