This commit is contained in:
Edward Betts 2023-09-24 18:53:23 +01:00
commit c2d785c118
2 changed files with 4 additions and 0 deletions

View file

@ -514,6 +514,9 @@ def reports_page() -> str:
missing_event_date=model.Event.query.filter( missing_event_date=model.Event.query.filter(
model.Event.event_date.is_(None) model.Event.event_date.is_(None)
).order_by(model.Event.title), ).order_by(model.Event.title),
no_venue_count=model.Conference.query.filter(
model.Conference.venue_id.is_(None), model.Conference.online.isnot(True)
).count(),
) )

View file

@ -13,6 +13,7 @@
<div>Speakers with no bio: {{ "{:,d}".format(no_bio_count) }}</div> <div>Speakers with no bio: {{ "{:,d}".format(no_bio_count) }}</div>
<div>Speakers with one bio: {{ "{:,d}".format(one_bio_count) }}</div> <div>Speakers with one bio: {{ "{:,d}".format(one_bio_count) }}</div>
<div>Speakers with more than one bio: {{ "{:,d}".format(multiple_bio_count) }}</div> <div>Speakers with more than one bio: {{ "{:,d}".format(multiple_bio_count) }}</div>
<div>Conferences without a venue: {{ "{:,d}".format(no_venue_count) }}</div>
<h2>Talks with missing dates</h2> <h2>Talks with missing dates</h2>