Skip to content
ActivityRegistrationFilterInput

Filter applied to a paginated ActivityRegistrationConnection. All fields are optional and combine with AND semantics.

Fields

queryString

Substring match against the registration's activity name and session name, case-insensitive. Whitespace is trimmed; empty strings are treated as no filter.

Time window. When unset (or all), no time filter is applied and the list orders by registration creation time (newest first). upcoming restricts to sessions starting at or after the current time and orders by session start ascending; past does the reverse plus includes cancelled registrations regardless of session time.

Superseded by status; pass status instead from new callers.

Session-status filter shared with Business.scheduledSessions so the participant registration list reads the same way as the all-sessions admin list. The default selection in clients is [scheduled, active], which renders as "sessions that haven't happened yet and haven't been cancelled" — registrations the participant cancelled are also hidden unless cancelled is in the list. When cancelled is included, rows where the session OR the registration is cancelled are returned. Ignored when empty.

includeGuestsBoolean

When false, exclude guest registrations (rows where the participant is not the booker). Defaults to true — the full list of bookings attributed to the participant, including guest passes used on their behalf.

When paidOnly, restrict to registrations that required payment — the activity-level "league registration" (which has no session) plus any individually-paid session drop-ins — and drop the free per-match comp spots. Defaults to all, the session-centric behaviour. Pairing paidOnly with a status/time/query/sort filter keeps the session-scoped result (the activity-level row has no session to filter on); use it on its own to surface the season row.

Used in

ActivityRegistrationFilter