Closed zst-c closed 3 weeks ago
This adds three filters to a bookings query.
bookings
Based on the name of a production linked to each booking.
name
"A Show"
"A" || "Show"
Based on the slug of a production linked to each booking. This must match exactly.
slug
Based on the performanceId of a performance linked to each booking. This must also match exactly.
performanceId
This also adds tests for the various new filters.
What?
This adds three filters to a
bookings
query.Based on the
name
of a production linked to each booking."A Show"
would only match"A Show"
and not"A" || "Show"
.Based on the
slug
of a production linked to each booking. This must match exactly.Based on the
performanceId
of a performance linked to each booking. This must also match exactly.This also adds tests for the various new filters.
Why?
Notes
name
, or if we want it to search theslug
or anything else as well.