Skip to content

Fix ResultPager previous-page navigation - #111

Merged
GrahamCampbell merged 2 commits into
5.1from
fix/result-pager-previous-page
May 6, 2026
Merged

GrahamCampbell merged 2 commits into
5.1from
fix/result-pager-previous-page

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Member

Summary

  • Fix ResultPager::hasPrevious() and ResultPager::fetchPrevious() to use Bitbucket's previous pagination key.
  • Keep pagination links opaque by fetching the exact previous URL returned by Bitbucket.
  • Extend ResultPagerTest with previous-page coverage.
  • Update the V5.1 changelog.

Testing

  • php -l src/ResultPager.php
  • php -l tests/ResultPagerTest.php
  • git diff --check
  • Attempted vendor-bin/phpunit/vendor/bin/phpunit --filter ResultPagerTest, but the phpunit binary is not installed in this checkout (vendor-bin/phpunit/vendor/bin/phpunit missing).

@GrahamCampbell
GrahamCampbell merged commit 807c2d1 into 5.1 May 6, 2026
16 checks passed
@GrahamCampbell
GrahamCampbell deleted the fix/result-pager-previous-page branch May 6, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant