lizhen_gitee преди 6 месеца
родител
ревизия
b8f87c0916
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      application/admin/controller/Lessonslot.php

+ 1 - 1
application/admin/controller/Lessonslot.php

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