lvhao преди 5 месеца
родител
ревизия
a118f780ed
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      core/CoreApp/controllers/Goodimglibrary.php

+ 2 - 2
core/CoreApp/controllers/Goodimglibrary.php

@@ -110,9 +110,9 @@ class Goodimglibrary extends Start_Controller {
                 $hairnumber = trim($hairnumber);
                 $hairnumber = trim($hairnumber);
                 $this->db->like('g.features', $hairnumber);
                 $this->db->like('g.features', $hairnumber);
             }
             }
-
-            $this->db->order_by('g.id', 'asc');
             $this->db->order_by('g.has_source', 'desc');
             $this->db->order_by('g.has_source', 'desc');
+            $this->db->order_by('g.id', 'asc');
+            
             
             
 
 
             // 分页 (limit, offset)
             // 分页 (limit, offset)