Show delegated on voivodeship breakdown

master
informatic 2020-04-11 09:27:29 +02:00
parent 6708915d96
commit 96d4c3f5d2
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ class IndexView(AdminSecurityMixin, flask_admin.AdminIndexView):
).filter(
FaceshieldRequest.status != Status.rejected,
FaceshieldRequest.status != Status.spam,
FaceshieldRequest.status != Status.delegated,
).join(FaceshieldRequest.postalcode_info, isouter=True).group_by('voivodeship').order_by(func.count().desc()).all()
dstats = FaceshieldRequest.query.select_from(FaceshieldRequest).with_entities(

View File

@ -43,7 +43,7 @@
</table>
</div>
<div class="col-md-6">
<h2 class="page-header">Voivodeship breakdown <small>excluding spam, rejected and delegated</small></h2>
<h2 class="page-header">Voivodeship breakdown <small>excluding spam and rejected</small></h2>
<table class="table">
<thead>
<tr>