Skip to content

FIX Make PageinatedList::count() give the number of items in the current page#11634

Merged
emteknetnz merged 1 commit intosilverstripe:6.0from
creative-commoners:pulls/6.0/paginated-list-count
Mar 13, 2025
Merged

FIX Make PageinatedList::count() give the number of items in the current page#11634
emteknetnz merged 1 commit intosilverstripe:6.0from
creative-commoners:pulls/6.0/paginated-list-count

Conversation

@GuySartorelli
Copy link
Copy Markdown
Member

Comment thread src/Model/List/PaginatedList.php
@GuySartorelli
Copy link
Copy Markdown
Member Author

CI failures are also happening on the 6.0 branch directly: https://github.com/silverstripe/silverstripe-framework/actions/runs/13798065981

Comment thread src/Model/List/PaginatedList.php Outdated
@GuySartorelli GuySartorelli force-pushed the pulls/6.0/paginated-list-count branch from 29f9568 to e7d7dd7 Compare March 12, 2025 02:45
Copy link
Copy Markdown
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have tested locally, works well. Will approve + merge once CMS 5 PRs have been merged + merged up

@GuySartorelli GuySartorelli force-pushed the pulls/6.0/paginated-list-count branch 2 times, most recently from d130aea to 4ae68fb Compare March 12, 2025 03:44
@GuySartorelli GuySartorelli force-pushed the pulls/6.0/paginated-list-count branch from 4ae68fb to 8b2b38d Compare March 12, 2025 03:45
@emteknetnz
Copy link
Copy Markdown
Member

emteknetnz commented Mar 12, 2025

Failing build, hasn't been merged-up/rebased?

@GuySartorelli
Copy link
Copy Markdown
Member Author

See #11634 (comment) above.

@emteknetnz emteknetnz merged commit 0267e60 into silverstripe:6.0 Mar 13, 2025
9 of 12 checks passed
@emteknetnz emteknetnz deleted the pulls/6.0/paginated-list-count branch March 13, 2025 20:41
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.

2 participants