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

Clarify tricky part about finder key. #7968

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

dereuromark
Copy link
Member

Clarify tricky part about finder key.

for

protected array $paginate = [
    'finder' => 'foo',

it has to be

$banks = $this->paginate('Banks');

The

    $query = $this->Banks->find();
    $banks = $this->paginate($query);

default bake code would not work.

Clarify tricky part about finder key.
@dereuromark dereuromark merged commit 3b7e992 into 5.x Dec 2, 2024
3 checks passed
@dereuromark dereuromark deleted the dereuromark-patch-1 branch December 2, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants