|
@@ -222,7 +222,7 @@ class ContentApi(object):
|
222
|
222
|
result = result.filter(Content.type.in_(self.DISPLAYABLE_CONTENTS))
|
223
|
223
|
|
224
|
224
|
if workspace:
|
225
|
|
- result = result.filter(Content.workspace_id==workspace.workspace_id)
|
|
225
|
+ result = result.filter(Content.workspace_id == workspace.workspace_id)
|
226
|
226
|
|
227
|
227
|
# Security layer: if user provided, filter
|
228
|
228
|
# with user workspaces privileges
|