api: do not disabled full events when booked in events datetimes (#79120) #109

Merged
vdeniaud merged 1 commits from wip/79120-API-MultipleAgendasDatetimes-ne- into main 2023-06-28 09:48:22 +02:00
Owner
No description provided.
vdeniaud changed title from WIP: api: do not disabled full events when booked in events datetimes (#79120) to api: do not disabled full events when booked in events datetimes (#79120) 2023-06-27 18:10:33 +02:00
lguerin approved these changes 2023-06-27 23:58:43 +02:00
@ -1705,0 +1738,4 @@
resp = app.get('/api/agendas/datetimes/', params={'agendas': agenda.slug, 'user_external_id': 'our_user'})
assert [(d['id'], d['disabled']) for d in resp.json['data']] == [
('first-agenda@recurring--2021-05-06-1700', False), # full event with booking not disabled
('first-agenda@recurring--2021-05-13-1700', True), # full event without booking disabled
Owner

s/without/with :)

s/without/with :)
vdeniaud force-pushed wip/79120-API-MultipleAgendasDatetimes-ne- from 1b3e9c73a6 to cce129b8bc 2023-06-28 09:37:27 +02:00 Compare
vdeniaud merged commit cce129b8bc into main 2023-06-28 09:48:22 +02:00
vdeniaud deleted branch wip/79120-API-MultipleAgendasDatetimes-ne- 2023-06-28 09:48:22 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/chrono#109
No description provided.