equal
deleted
inserted
replaced
145 # retrieve the project using the key name in the GET param |
145 # retrieve the project using the key name in the GET param |
146 get_dict = request.GET |
146 get_dict = request.GET |
147 project_entity = student_project_logic.getFromKeyName(get_dict['project']) |
147 project_entity = student_project_logic.getFromKeyName(get_dict['project']) |
148 |
148 |
149 # update the properties that will be stored with the referenced project |
149 # update the properties that will be stored with the referenced project |
150 properties.update(project=project_entity) |
150 properties.update(project=project_entity, org=project_entity.scope) |
151 |
151 |
152 def _constructFilterForProjectSelection(self, survey, params): |
152 def _constructFilterForProjectSelection(self, survey, params): |
153 """Returns the filter needed for the Project selection view. |
153 """Returns the filter needed for the Project selection view. |
154 |
154 |
155 Returns a filter for all the valid projects for which the current user |
155 Returns a filter for all the valid projects for which the current user |