From ab1de8dfc3e769107dafcebe399b20f5ebf9a75f Mon Sep 17 00:00:00 2001 From: Petr Hajek Date: Fri, 24 Sep 2021 13:06:56 +0200 Subject: [PATCH] fix publicationState filter docs --- docs/developer-docs/latest/development/plugins/graphql.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/developer-docs/latest/development/plugins/graphql.md b/docs/developer-docs/latest/development/plugins/graphql.md index d6287ae239..49b75dad29 100644 --- a/docs/developer-docs/latest/development/plugins/graphql.md +++ b/docs/developer-docs/latest/development/plugins/graphql.md @@ -268,13 +268,12 @@ You can also apply different parameters to the query to make more complex querie - `start` (integer): Define the amount of entries to skip. - `sort` (string): Define how the data should be sorted. - `publicationState` (PublicationState): Only select entries matching the publication state provided. -- `locale` (string): Define the locale to fetch the content for, if the [Internationalization (i18n) plugin](/developer-docs/latest/development/plugins/i18n.md) is installed and [localization is enabled for the content-type](/user-docs/latest/content-types-builder/creating-new-content-type.md#creating-a-new-content-type). Handled states are: - - `live`: Return only published entries (default) - `preview`: Return both draft entries & published entries +- `locale` (string): Define the locale to fetch the content for, if the [Internationalization (i18n) plugin](/developer-docs/latest/development/plugins/i18n.md) is installed and [localization is enabled for the content-type](/user-docs/latest/content-types-builder/creating-new-content-type.md#creating-a-new-content-type). - `:asc` or `:desc` - `where` (object): Define the filters to apply in the query. - ``: Equals.