@@ -48,9 +48,10 @@ class ExamsPaperModel extends Model
...
@@ -48,9 +48,10 @@ class ExamsPaperModel extends Model
$this->field('*, ( SELECT count(el_exams_paper_options.exams_paper_id) from el_exams_paper_options WHERE el_exams_paper_options.exams_paper_id = el_exams_paper.exams_paper_id) as hasQuestion');
$this->field('*, ( SELECT count(el_exams_paper_options.exams_paper_id) from el_exams_paper_options WHERE el_exams_paper_options.exams_paper_id = el_exams_paper.exams_paper_id) as hasQuestion');