shish 2 лет назад
Родитель
Сommit
44134c0e5e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/ModifyController.php

+ 1 - 1
app-ghs/controllers/ModifyController.php

@@ -48,7 +48,7 @@ class ModifyController extends BaseController
         if (!empty($data)) {
             $arr = json_decode($data, true);
             if (!empty($arr)) {
-                $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'addTime asc', '*', null, true);
+                $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'inTurn asc,addTime asc', '*', null, true);
                 if (count($list) >= 15) {
                     if ($list[0]) {
                         $list[0]->delete();