From 76da8ecd2c2a63200e9ee2b8cf64f42afa978b08 Mon Sep 17 00:00:00 2001 From: Hugo Loza Date: Fri, 1 Jul 2011 12:02:15 -0400 Subject: [PATCH] BUG 7140 some non defined portions of the query fixed groupBy clause and orderBy --- gulliver/thirdparty/creole/contrib/DBArrayConnection.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gulliver/thirdparty/creole/contrib/DBArrayConnection.php b/gulliver/thirdparty/creole/contrib/DBArrayConnection.php index 1f470dde9..953a6bb7a 100644 --- a/gulliver/thirdparty/creole/contrib/DBArrayConnection.php +++ b/gulliver/thirdparty/creole/contrib/DBArrayConnection.php @@ -245,6 +245,10 @@ class DBArrayConnection implements Connection { $sql['selectClause'][0] = isset($matches[1]) ? $matches[1] : '';//Include selectClause. By JHL $sql['fromClause'][0] = isset($matches[2]) ? $matches[2] : ''; $sql['whereClause'][0] = isset($matches[3]) ? $matches[3] : ''; + $sql['groupByClause'][0] = isset($matches[4]) ? $matches[4] : ''; + $sql['orderByClause'][0] = isset($matches[5]) ? $matches[5] : ''; + + $sql['limit'] = 0; $sql['offset'] = 0; return $sql;