fix some minor bugs
This commit is contained in:
parent
8f1c56baf9
commit
6a99fd30c4
|
@ -98,7 +98,7 @@
|
|||
<div class="col-3">
|
||||
<div class="card-counter danger">
|
||||
<i class="fa fa-ban"></i>
|
||||
<span class="count-numbers">{{ email_forwarded }}</span>
|
||||
<span class="count-numbers">{{ email_blocked }}</span>
|
||||
<span class="count-name">Email Blocked</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,7 +44,7 @@ def alias_log(alias, page_id):
|
|||
.filter(ForwardEmail.gen_email_id == gen_email.id)
|
||||
)
|
||||
total = base.count()
|
||||
email_forwarded = base.filter(ForwardEmailLog.is_reply == False).count()
|
||||
email_forwarded = base.filter(ForwardEmailLog.is_reply == False).filter(ForwardEmailLog.blocked==False).count()
|
||||
email_replied = base.filter(ForwardEmailLog.is_reply == True).count()
|
||||
email_blocked = base.filter(ForwardEmailLog.blocked == True).count()
|
||||
last_page = (
|
||||
|
|
Loading…
Reference in a new issue