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 6174cbb commit 1515e3eCopy full SHA for 1515e3e
src/Controller/Component/ApiPaginationComponent.php
@@ -46,12 +46,13 @@ public function beforeRender(Event $event)
46
}
47
48
$this->paging = $controller->request->params['paging'][$controller->name];
49
+ $config = $this->config();
50
- if (!empty($this->config('aliases'))) {
51
+ if (!empty($config['aliases'])) {
52
$this->setAliases();
53
54
- if (!empty($this->config('visible'))) {
55
+ if (!empty($config['visible'])) {
56
$this->setVisibility();
57
58
0 commit comments