From 76b3ac39b68697294dfe3c58f694f96827e7fb01 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 22 May 2024 22:17:50 +0200 Subject: [PATCH] fix(filter): clarify `in` filter syntax --- docs/content/doc/usage/filters.md | 2 +- frontend/src/components/project/partials/FilterInputDocs.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/usage/filters.md b/docs/content/doc/usage/filters.md index 2a841469a..e8c8282eb 100644 --- a/docs/content/doc/usage/filters.md +++ b/docs/content/doc/usage/filters.md @@ -61,7 +61,7 @@ Here are some examples of filter queries: * `priority = 4`: Matches tasks with priority level 4 * `dueDate < now`: Matches tasks with a due date in the past * `done = false && priority >= 3`: Matches undone tasks with priority level 3 or higher -* `assignees in [user1, user2]`: Matches tasks assigned to either "user1" or "user2 +* `assignees in user1, user2`: Matches tasks assigned to either "user1" or "user2 * `(priority = 1 || priority = 2) && dueDate <= now`: Matches tasks with priority level 1 or 2 and a due date in the past diff --git a/frontend/src/components/project/partials/FilterInputDocs.vue b/frontend/src/components/project/partials/FilterInputDocs.vue index 3ed58008f..fe6e5845b 100644 --- a/frontend/src/components/project/partials/FilterInputDocs.vue +++ b/frontend/src/components/project/partials/FilterInputDocs.vue @@ -57,7 +57,7 @@ const showDocs = ref(false) done = false && priority >= 3: {{ $t('filters.query.help.examples.undoneHighPriority') }} -
  • assignees in [user1, user2]: {{ $t('filters.query.help.examples.assigneesIn') }}
  • +
  • assignees in user1, user2: {{ $t('filters.query.help.examples.assigneesIn') }}
  • (priority = 1 || priority = 2) && dueDate <= now: {{ $t('filters.query.help.examples.priorityOneOrTwoPastDue') }}