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 7858566 commit c563c28Copy full SHA for c563c28
src/Endpoint/Index.php
@@ -59,7 +59,6 @@ public function handle(Context $context): ResponseInterface
59
60
$query = $adapter->newQuery($context);
61
62
- run_callbacks($schema->getListeners('listing'), [$query, $context]);
63
run_callbacks($schema->getListeners('scope'), [$query, $context]);
64
65
$include = $this->getInclude($context);
@@ -68,6 +67,8 @@ public function handle(Context $context): ResponseInterface
68
67
$this->sort($query, $context);
69
$this->filter($query, $context);
70
+ run_callbacks($schema->getListeners('listing'), [$query, $context]);
71
+
72
$total = $schema->isCountable() ? $adapter->count($query) : null;
73
$models = $adapter->get($query);
74
0 commit comments