Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
X
xivo-dao
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xivo.solutions
xivo-dao
Commits
c9329fbd
Commit
c9329fbd
authored
Oct 29, 2019
by
Jean-Pierre Thomasset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2939 - Fix filter in group query
parent
0373517a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
xivo_dao/resources/agent/dao.py
xivo_dao/resources/agent/dao.py
+1
-1
No files found.
xivo_dao/resources/agent/dao.py
View file @
c9329fbd
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment