Skip to main content

Filters and sorts

For:Administrator

This page lists all the operators available to filter an exploration, as well as the rules of filter combination and multi-field sorting.

Principle: « type-aware » operators​

When you add a filter, Unisoft looks at the type of the chosen field and only proposes the relevant operators.

For example, a « Payment date » field offers before, after, between… but never contains (which doesn't make sense on a date).

The six main types are:

TypeField examples
TEXTLast name, first name, email, comment, label
ENUMPayment method, source, type, reason, category
NUMBERQuantity, numeric identifier
MONEYAmount, bank fees, pledged amount
DATE / DATETIMECreation date, payment date, due date
BOOLArchived, Gift Aid, accepts emails

TEXT — free text​

For text fields (last name, first name, email, comment, label…).

OperatorBehaviorExample
containsThe text is present somewhere in the valueName contains « Cohen » → Cohen, Bensimon-Cohen, Cohenovici
is exactlyThe value is strictly equalEmail is exactly david.cohen@exemple-unisoft.org
starts withThe text is at the start of the valueName starts with « Lev » → Lévy, Levin, Levitch
ends withThe text is at the end of the valueEmail ends with @exemple-unisoft.org
is emptyThe field has no valueEmail is empty → contacts without an email
is not emptyThe field has any valuePhone is not empty

ENUM — list of choices​

For fields with a fixed list of values (payment method, source, type, category…).

OperatorBehaviorExample
is one ofThe value is in the selected listMethod is one of [check, cash]
is not one ofThe value is not in any selected valueSource is not one of [admin]
is emptyThe field has no valueCategory is empty

NUMBER — integer or decimal number​

For numeric fields without a monetary dimension.

OperatorBehaviorExample
= (equal to)Exact valueQuantity = 1
≠ (different from)Any value exceptQuantity ≠ 0
> (strictly greater)Strictly greaterQuantity > 5
≥ (greater or equal)Greater or equalQuantity ≥ 10
< (strictly less)Strictly lessQuantity < 100
≤ (less or equal)Less or equalQuantity ≤ 50
betweenIn the interval (bounds included)Quantity between 10 and 50
is emptyNo valueQuantity is empty

MONEY — amount in euros​

For monetary fields (amount, bank fees, organization fees, pledged amount…).

Same operators as NUMBER, with a particularity of entry:

Examples:

  • Amount ≥ 100 → all payments of €100 or more
  • Amount between 50 and 200 → payments of €50 to €200 inclusive
  • Bank fees > 5 → payments with more than €5 of fees

DATE / DATETIME — date (and time)​

For dates (payment date, creation date, due date…).

OperatorBehaviorExample
onExact date (full day)Payment date on May 14, 2026
beforeDate strictly earlierDate before April 1, 2026
afterDate strictly laterDate after March 31, 2026
betweenIn the date interval (inclusive)Date between January 1 and March 31, 2026
is emptyNo dateSend date is empty
is not emptyDate filledSend date is not empty

BOOL — yes / no / undefined​

For boolean fields (Archived, Gift Aid, Accepts emails…).

ValueBehavior
YesThe field is true
NoThe field is explicitly false
UndefinedThe field has never been filled

Filter combination (AND only)​

All added filters are combined with AND: a row only appears in the results if it validates all conditions simultaneously.

Example: three filters on a Payments view

Amount ≥ 100
Date between Jan 1 and Mar 31, 2026
Method is one of [check, transfer]

A row will only display if it verifies all three at once.

Multi-field sorting​

Sorting allows you to order the rows of the results table.

Add a sort​

In the Sorts tab:

  1. Click Add a sort
  2. Choose the field to sort on
  3. Choose the direction: ascending (A→Z, 1→9, old→recent) or descending (Z→A, 9→1, recent→old)

Stack several sorts​

You can add several stacked sorts. The first one is the primary, the following ones only apply in case of equality on the previous one.

Example: on a Payments view

OrderFieldDirectionEffect
1Payment datedescendingThe most recent payments at the top
2AmountdescendingAt equal date, the largest amount at the top

Quick sort from the header​

You can also click a column header of the preview table to activate a quick sort on that field. It's faster when you want to adjust a single sort on the fly.

Common pitfalls​

Going further​