def _process(self): question_ids = map(int, request.form.getlist('field_ids')) if self.review_type == 'layout': questions = self.event.cfp.layout_review_questions else: questions = self.event.cfp.content_review_questions sort_reviewing_questions(questions, question_ids) return jsonify_data(flash=False)
def _process(self): question_ids = map(int, request.form.getlist('field_ids')) sort_reviewing_questions(self.event.abstract_review_questions, question_ids) return jsonify_data(flash=False)