Skip to content

Commit

Permalink
docs: Custom Filters no longer require Placeholders to access Query P…
Browse files Browse the repository at this point in the history
…roperties
  • Loading branch information
claremacrae committed Nov 9, 2023
1 parent 3039b26 commit 0b1b5d9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/Scripting/Query Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ publish: true
> [!released]
>
> - Query Properties were introduced in Tasks 4.7.0.
> - Their direct use in Custom Groups, without the use of Placeholders, was introduced in Tasks X.Y.Z.
> - Their direct use in Custom Filters and Custom Groups, without the use of Placeholders, was introduced in Tasks X.Y.Z.
## Introduction

In a growing number of locations, Tasks allows programmatic/scripting access to properties of the file containing the search query:

- [[Placeholders]]
- [[Custom Filters]]
- [[Custom Grouping]]

This page documents all the available pieces of information in Queries that you can access.

> [!warning]
>
> - Placeholders can be in [[Custom Filters]], but must be surrounded by quotes. For example: `'{{query.file.folder}}'`.
> - In a future release, we will allow expressions such as `query.file.folder` to be used directly in custom filters.
## Values for Query File Properties

<!-- placeholder to force blank line before included text --><!-- include: QueryProperties.test.query_file_properties.approved.md -->
Expand Down

0 comments on commit 0b1b5d9

Please sign in to comment.