Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to include whether game is masked or not in the per room report #8570

Open
vogon999 opened this issue Feb 17, 2024 · 2 comments
Open

Comments

@vogon999
Copy link

It would make sign making easier if the per room report could also show what the game's mask policy was. Thanks!

@dkapell
Copy link

dkapell commented Feb 17, 2024

This will require building a system for exposing/selecting convention custom fields to be displayed on reports. For now, I've run the below query to solve the immediate need:

select 
m.name, e.title, 
(r.starts_at at time zone 'utc') at time zone 'EST' as start,
((r.starts_at + (INTERVAL '1 second' * e.length_seconds) )at time zone 'utc') at time zone 'EST' as end,
e.additional_info #>> '{"mask_policy"}'as mask_policy
from runs r 
left join events e on r.event_id = e.id
left join conventions c on c.id = e.convention_id
left join rooms_runs rr on rr.run_id = r.id
left join rooms m on rr.room_id = m.id
where c.name = 'Intercon V'
order by m.name, r.starts_at

@nbudin
Copy link
Contributor

nbudin commented Feb 17, 2024

One other potential solution might be to implement that report via the CMS. I'll see if I can come up with a half-baked version of that over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants