Skip to content
Search & Filters

Search & Filters

Search filter

The instance list view provides a search bar to filter objects. The ? button next to it shows the syntax.

paris                        # any field, keyname or displayname contains "paris"
city:Paris                   # field contains "Paris" (case insensitive)
city:Par*  city:*ris         # starts with / ends with
city:"Le Mans"               # value with spaces
pop:>=500                    # numeric comparison: > >= < <=
city:Paris AND pop:>500      # AND is the default between terms
city:Paris OR city:Lyon
NOT is_enabled:True
EXISTS:email                 # field has a value
EMPTY:email                  # field has no value

Operators AND, OR, NOT, EXISTS, EMPTY, RELATED must be uppercase. No space around :.

Allowed characters: letters, digits, spaces and ()_/.:'"*<>=+-.

The current query is stored in the session per schema, so it persists when navigating away and returning to the same list.

Date filters

Works on the builtin last_sync and last_update attributes, and on date / datetime fields.

last_sync:2026-01-15                 # that day
last_sync:<-90d                      # old: more than 90 days ago
last_update:>-7d                     # recent: in the last 7 days
last_sync:<-90d OR EMPTY:last_sync   # old or never synced
valid_to:<+30d                       # expires within 30 days

Full syntax: see the Advanced Search page.

RELATED: filter

The RELATED: keyword is a special filter that lists all instances of a schema that reference a specific object.

Format:

RELATED:<classname>:<keyname>

Example:

To list all app instances that reference the site object paris-01:

RELATED:site:paris-01

This filter is automatically applied when clicking the icon, count badge, or schema name in the Related Objects section at the bottom of an instance detail page.

The lowercase form related: is still accepted for backward compatibility.

Global searchbar

The top navbar has a global search field, available to any user with the p_data_access permission (granted to all authenticated users by the builtin default role). Press / anywhere on the page to focus it, then press Enter to see the results page.

Unlike the instance list search filter above, the searchbar query is a single term — no multi-word OR logic. It must be at least 3 characters.

Format:

<term>
SCHEMA:<term>

A SCHEMA: prefix (matched case-insensitively against a schema’s keyname) restricts the search to that one schema; an unrecognized prefix is treated as a literal part of the term instead.

The search runs, in order, against: keyname, displayname, the per-instance description field (if the schema defines one), the full raw data content, and finally schema names/displaynames themselves. An instance already matched by an earlier stage isn’t repeated in a later one. Each result only appears if the requesting user has read access to it (or, for a schema-name match, read access to the schema). Results are capped at SEARCHBAR_MAX_ANSWER (100) combined across all stages.

A schema can opt out of the global searchbar entirely with the hide_from_search option — see Schema _options.