Commit c9329fbd authored by Jean-Pierre Thomasset's avatar Jean-Pierre Thomasset

2939 - Fix filter in group query

parent 0373517a
......@@ -78,6 +78,6 @@ def get_membership(agent_id):
def get_group_by_id(group_id):
query = (Session.query(AgentGroup)
.filter(id=group_id))
.filter(AgentGroup.id == group_id))
return query.first()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment