Fix off-by-one in total_pages #483

● Open dev-arya wants to merge 1 commit into main · +7 −1
total_pages used floor division, so a partial final page was dropped (10 items at 3/page reported 3 pages instead of 4). Switches to ceiling division and adds a regression test for the partial-page boundary. Closes #482.

Finish your review

Summarize the review and choose an outcome. This is what a reviewer submits on the PR.
Choose a decision above.
Generated review prompt Comment Paste back into Claude to apply this review

  
Copied!