Skip to content

Commit fb46c91

Browse files
authored
Merge pull request #22 from ggoffy/master
alternative solution for GROUP BY
2 parents 13fd4e3 + e349905 commit fb46c91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

class/TagHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function &getByLimit(
281281
$limit = $criteria->getLimit();
282282
$start = $criteria->getStart();
283283
}
284-
$sql .= " GROUP BY o.{$this->keyName}";
284+
$sql .= " GROUP BY o.{$this->keyName}, o.tag_term, o.tag_status, l.tag_modid";
285285

286286
$order = mb_strtoupper($order);
287287
$sort = mb_strtolower($sort);

0 commit comments

Comments
 (0)