|
@@ -57,7 +57,8 @@ class Lessonslot extends Backend
|
|
|
$list = $this->model
|
|
|
->with(['coach','lesson','danceroom'])
|
|
|
->where($where)
|
|
|
- ->order($sort, $order)
|
|
|
+// ->order($sort, $order)
|
|
|
+ ->order('lessonslot.starttime asc,lessonslot.id asc')
|
|
|
->paginate($limit);
|
|
|
|
|
|
foreach ($list as $row) {
|