Commit 4a2b8b42 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Fix regression

parent 4b23de44
......@@ -317,6 +317,7 @@ class Environment(Model):
' left JOIN role r on s.service==r.role_name\n'
'WHERE\n'
' s.environment_id=?\n'
' AND s.present=1\n'
' and (r.is_enabled=1 or r.is_enabled is null)\n'
'ORDER BY s.service\n',
str(self.id))
......
Supports Markdown
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