equal
deleted
inserted
replaced
149 properties.update(project=project_entity) |
149 properties.update(project=project_entity) |
150 |
150 |
151 def _constructFilterForProjectSelection(self, survey, params): |
151 def _constructFilterForProjectSelection(self, survey, params): |
152 """Returns the filter needed for the Project selection view. |
152 """Returns the filter needed for the Project selection view. |
153 |
153 |
|
154 Returns a filter for all the valid projects for which the current user |
|
155 is a student. Of course only in the survey's scope. |
|
156 |
154 Args: |
157 Args: |
155 survey: a Survey entity |
158 survey: a Survey entity |
156 params: the params dict for the requesting view |
159 params: the params dict for the requesting view |
157 |
160 |
158 Returns: |
161 Returns: |