Phials documentation
Developer docs
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

Filter fields, operators, and values

A filter condition has three parts: a field, an operator, and, except for the empty operators, a value. The field’s type determines which operators and value control Phials presents.

For the steps to create and edit conditions, see Filter files.

Built-in fields

FieldType and valueNotes
NameTextCompares the complete filename shown in the File view.
ExtensionDynamic choiceOffers extensions found in the current listing. Folders have an empty extension.
KindDynamic choiceOffers file kinds found in the current listing, such as Image, Code, Audio, and Folder.
SizeNumber plus B, KB, MB, or GBDefaults to MB. Unit conversion uses 1 KB = 1,024 B, 1 MB = 1,024 KB, and 1 GB = 1,024 MB.
CreatedDateCompares the item’s creation date by local calendar day. A creation date may be unavailable on some filesystems.
ModifiedDateCompares the item’s modification date by local calendar day.

In Current folder scope, folder rows are evaluated like files. In recursive Flatten scope, Phials presents matching files in one list and omits folder rows.

Workspace Folder properties

Inside a Workspace Folder, the field picker also includes supported properties from that Workspace Folder.

Property typeFilter typeValue control
Text, URLTextText input
NumberNumberNumber input
DateDateDate picker
Select, StatusSingle choiceExisting property options
Multi-select, TagsMultiple-choice membershipOne existing option per condition
CheckboxBooleanChecked or unchecked value
RatingRating numberStar picker
Rollup returning a number or dateNumber or dateControl for the rollup’s result type

Relation properties and Rollups that return lists are not available as filter fields.

Metadata fields

Metadata providers can contribute string, number, date, boolean, array, or dynamic-choice fields. Phials maps them to the corresponding operators and value controls below.

Ordinary Browse filters offer metadata fields available in the folder’s column configuration. A recursive or All files search can offer all registered metadata fields because its results may span folders with different metadata. Metadata might not be extracted when a result first appears; until extraction finishes, Phials treats that field as empty and then evaluates the condition again when the value arrives.

Dynamic-choice metadata fields use provider-supplied choices when available. Otherwise, Phials builds the choices from distinct values it has discovered. Array metadata uses one text value per condition.

Operators by value type

Text

OperatorMatch rule
containsThe field includes the value.
does not containThe field does not include the value.
isThe whole field equals the value.
is notThe whole field does not equal the value.
starts withThe field begins with the value.
ends withThe field ends with the value.
is emptyThe value is missing or contains only whitespace.
is not emptyThe value exists and contains a non-space character.

Text comparison is case-insensitive.

Number, Size, and Rating

OperatorMatch rule
=Equal to the value
Not equal to the value
<Less than the value
>Greater than the value
Less than or equal to the value
Greater than or equal to the value
is emptyNo value is available.
is not emptyA value is available, including zero.

Size values are converted from the selected unit before comparison. Rating uses the same numeric comparisons, with a star picker for its value.

Date

OperatorMatch rule
isSame local calendar day
is notA different local calendar day
is beforeAn earlier local calendar day
is afterA later local calendar day
is on or beforeThe same or an earlier local calendar day
is on or afterThe same or a later local calendar day
is emptyNo date is available.
is not emptyA date is available.

Time of day does not affect a date comparison.

Single choice and dynamic choice

The available operators are is, is not, is empty, and is not empty. Extension, Kind, Select, Status, and dynamic-choice metadata fields use this family.

Multi-select, Tags, and metadata arrays

OperatorMatch rule
containsAt least one item equals the selected or entered value.
does not containNo item equals the selected or entered value.
is emptyThe list has no items or is unavailable.
is not emptyThe list has at least one item.

Membership comparison is case-insensitive and exact. For example, Tags contains Art matches an Art option but not an Article option. Add another condition when more than one item must be tested.

Boolean

Boolean fields use is, is not, is empty, and is not empty with a checked or unchecked value. Empty means the field has no stored or extracted value; it is distinct from unchecked.

Empty and unfinished conditions

is empty and is not empty do not take a comparison value. Empty means missing or null, a blank text value, or a list with no items. Numbers and booleans are not empty when their value is zero or false.

A newly added condition may not yet have a value. Until you enter or choose one, an operator that requires a value does not exclude items.