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 f462f1d commit d80ac13Copy full SHA for d80ac13
lib/Api/Restful.php
@@ -17,7 +17,7 @@ public static function init(): void
17
'path' => '/neues/entry/5.0.0/',
18
'auth' => '\rex_yform_rest_auth_token::checkToken',
19
'type' => Entry::class,
20
- 'query' => Entry::query(),
+ 'query' => Entry::query()->where('status', 1, ">="),
21
'get' => [
22
'fields' => [
23
Entry::class => [
@@ -105,7 +105,7 @@ public static function init(): void
105
'path' => '/neues/category/5.0.0/',
106
107
'type' => Category::class,
108
- 'query' => Category::query(),
+ 'query' => Category::query()->where('status', 1, ">="),
109
110
111
Category::class => [
0 commit comments