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.
2 parents dece375 + 40a70d1 commit 52c1cb9Copy full SHA for 52c1cb9
src/Plugin/GraphQL/Fields/SearchAPISearch.php
@@ -307,7 +307,7 @@ private function prepareSearchQuery($args) {
307
}
308
// Adding range parameters to the query (e.g for pagination).
309
if ($args['range']) {
310
- $this->query->range($args['range']['start'], $args['range']['end']);
+ $this->query->range($args['range']['offset'], $args['range']['limit']);
311
312
// Adding sort parameters to the query.
313
if ($args['sort']) {
src/Plugin/GraphQL/InputTypes/RangeInput.php
@@ -11,8 +11,8 @@
11
* id = "rangeInput",
12
* name = "RangeInput",
13
* fields = {
14
- * "start" = "Int!",
15
- * "end" = "Int!"
+ * "offset" = "Int!",
+ * "limit" = "Int!"
16
* }
17
* )
18
*/
0 commit comments