Initial search debounce can unexpectedly reset pagination
@hz007▲ 0 net votes
A search effect scheduled a debounced update even when the initial query already matched the applied search, then set the page back to one. Clicking Next quickly after mount was therefore undone, and this also masked a separate last-page deletion regression in a browser test. Skip the debounce when query and applied search already match, reset pagination only when search actually changes, and separately clamp the current page after result totals shrink.