Skip to content

fix: keep claim and tracker filters when paginating - #356

Draft
Justin Hammond (Justintime50) wants to merge 3 commits into
masterfrom
fix_next_page_filters
Draft

Justin Hammond (Justintime50) wants to merge 3 commits into
masterfrom
fix_next_page_filters

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Description

Fixes next-page bugs:

  • get_next_page for claims, events, insurances, pickups, refunds, scan forms, shipments and trackers dropped the start_datetime and end_datetime filters of the original all call. They are now saved with the other filters (only when given, so lists without them send the same request as before) and re-sent on the next page.
  • claim.get_next_page dropped the type and status filters, and tracker.get_next_page dropped the tracking_codes filter, of the original all call. They are now re-sent too.

Addresses, child users, referral customers and reports are left alone because the API ignores those date filters after the first page.

Testing

  • Added claim and tracker specs that stub make_request like the billing specs and check the next-page params.
  • just lint and the full spec suite pass.

Pull Request Type

  • Bug fix (non-breaking change which fixes an issue)

@Justintime50 Justin Hammond (Justintime50) changed the title fix: keep report date filters when paginating fix: keep claim and tracker filters when paginating Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant