Skip to content

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

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 and re-sent.
  • claim.get_next_page dropped the type and status filters of the original all call. They are now re-sent too.
  • tracker.get_next_page dropped the tracking_codes filter of the original all call. It is now re-sent like tracking_code and carrier.

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

Testing

  • Added test_claim_get_next_page_keeps_filters and test_tracker_get_next_page_keeps_tracking_codes, which mock the requests like test_get_next_page_collects_all_pages and check the next-page params.
  • just lint and just mypy pass.

Pull Request Type

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

@Justintime50 Justin Hammond (Justintime50) changed the title fix: keep report and tracker 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