Skip to content

Commit

Permalink
Fix definition of "overfull"
Browse files Browse the repository at this point in the history
  • Loading branch information
BreathingFlesh committed Sep 9, 2024
1 parent 7f16b0d commit 2b84e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onegov/feriennet/queries/occasions_by_state.sql
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ occasion_states AS (
CASE
WHEN cancelled = TRUE
THEN 'cancelled'
WHEN total_bookings > max_spots
WHEN total_bookings > max_spots AND accepted_bookings = max_spots
THEN 'overfull'
WHEN accepted_bookings = 0
THEN 'empty'
Expand Down

0 comments on commit 2b84e85

Please sign in to comment.