Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Gridfiled pagination missing after search #10828

Merged

Conversation

sabina-talipova
Copy link
Contributor

@@ -172,6 +172,10 @@ private function search(DataList $query): DataList
*/
private function prepareQuery($sort, $limit, ?DataList $existingQuery): DataList
{
// @todo In CMS 6 change method param from `$limit = false` to `array|string|null $limit = null`
Copy link
Member

Choose a reason for hiding this comment

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

Sorry - just realised this should be in getQuery() - not in prepareQuery()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

Copy link
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.

Tested locally, works good

@emteknetnz emteknetnz merged commit bb5378e into silverstripe:5.0 Jun 26, 2023
9 checks passed
@emteknetnz emteknetnz deleted the pulls/5.0/gridfild-pagination branch June 26, 2023 00:11
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