We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56239e commit 5ef9c11Copy full SHA for 5ef9c11
src/Controller/Component/ApiPaginationComponent.php
@@ -66,8 +66,8 @@ public function beforeRender(Event $event)
66
$this->setVisibility();
67
}
68
69
- $controller->set($this->config('key'), $this->pagingInfo);
70
- $controller->viewVars['_serialize'][] = $this->config('key');
+ $controller->set($config['key'], $this->pagingInfo);
+ $controller->viewVars['_serialize'][] = $config['key'];
71
72
73
/**
0 commit comments