Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 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)