DESKTOP-9JTA2JJ\HP hace 5 años
padre
commit
afd1b1317c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/application/controllers/Project.php

+ 1 - 1
api/application/controllers/Project.php

@@ -467,7 +467,7 @@ class Project extends Base_Controller {
                 }
                 $projectIdArr = array_column($data, 'id');
                 $sectionWhere['projectid'] = $projectIdArr;
-                $sectionList = $this->Lamp_model->get_list($sectionWhere, 'section as name,projectid',NULL, NULL, 'convert(section using gbk) asc', NUll);
+                $sectionList = $this->Lamp_model->get_list($sectionWhere, 'section as name,projectid',NULL, NULL, 'convert(section using gbk) asc', 'projectid,section');
                 foreach ($sectionList as $key => $value) {
                     if (isset($temp[$value['projectid']])) {
                         unset($value['projectid']);