|
@@ -279,7 +279,8 @@ class Exams extends Backend
|
|
|
}
|
|
|
[$where, $sort, $order, $offset, $limit] = $this->buildparams();
|
|
|
$list = $this->model
|
|
|
- ->where($where)->where('exam_collection_id',$ids)->where($this->whereExtend)->with($this->relationtTable)
|
|
|
+ ->where($where)->where('exam_collection_id',$ids)
|
|
|
+ ->where($this->whereExtend)->with($this->relationtTable)
|
|
|
->order($sort, $order)
|
|
|
->paginate($limit);
|
|
|
$result = ['total' => $list->total(), 'rows' => $list->items()];
|