From b98e91330463207dbe615a4541835688310115a5 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Tue, 13 Jul 2021 22:25:53 +0200 Subject: [PATCH] fix contact page --- app/dashboard/views/alias_contact_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/views/alias_contact_manager.py b/app/dashboard/views/alias_contact_manager.py index e586cb22..3566813f 100644 --- a/app/dashboard/views/alias_contact_manager.py +++ b/app/dashboard/views/alias_contact_manager.py @@ -63,7 +63,7 @@ class ContactInfo(object): def get_contact_infos(alias: Alias, page=0, contact_id=None) -> [ContactInfo]: q = db.session.query( Contact, - ) + ).filter(Contact.alias_id == alias.id) if contact_id: q = q.filter(Contact.id == contact_id)