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 f462f1d + d80ac13 commit cb5dc7aCopy full SHA for cb5dc7a
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