Skip to content

v0.2.7: content[] pagination rendering fix

Choose a tag to compare

@cyanheads cyanheads released this 17 Jul 06:52
v0.2.7
c99e196

content[] pagination rendering fix

Six paginated tools rendered an upstream item total as though it were a page
count in content[]; structuredContent was always correct.

Fixed:

  • disaster_spending, get_award_subawards, get_award_transactions,
    search_federal_accounts, search_recipients, and spending_by_category no
    longer render Page: X of ~Y (misread as a page count) -- all six now
    share a formatPaginationLine helper that renders Page: X | Total
    items:
    ~Y | Per page: Z | Has next: Yes/No (#34)

253 tests pass; bun run devcheck clean.

CHANGELOG v0.2.7