* Fix order by not work in sub query.

This commit is contained in:
qixinzhi
2023-11-20 15:15:16 +08:00
parent bf1637b038
commit fc9902285e
+1 -1
View File
@@ -2359,7 +2359,7 @@ class pivotModel extends model
$connectSQL .= " where $whereStr";
}
$columnSQL = "select * from ($sql) tt" . $connectSQL;
$columnSQL = "select * from ($sql limit 9999999) tt" . $connectSQL;
$rows = $this->dao->query($columnSQL)->fetchAll();
$cols = array();