WIN-2308041133\Administrator пре 8 месеци
родитељ
комит
3bc7b59017
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      application/admin/controller/platform/Videoplatform.php

+ 2 - 2
application/admin/controller/platform/Videoplatform.php

@@ -36,12 +36,12 @@ class Videoplatform extends Backend
             $total = $this->model
             $total = $this->model
                 ->with('videolist')
                 ->with('videolist')
                 ->where($where)
                 ->where($where)
-                ->order($sort, $order)
+//                ->order($sort, $order)
                 ->count();
                 ->count();
             $list = $this->model
             $list = $this->model
                 ->with('videolist')
                 ->with('videolist')
                 ->where($where)
                 ->where($where)
-                ->order($sort, $order)
+//                ->order($sort, $order)
                 ->limit($offset, $limit)
                 ->limit($offset, $limit)
                 ->select();
                 ->select();
             $result = ["total" => $total, "rows" => $list];
             $result = ["total" => $total, "rows" => $list];