- Fixed a bug where withJoin() would mess with previous select() done on querybuilding
- Fixed a problem related with distinct in select whenever another select on fields was done
This commit is contained in:
1 parent
bfddf84564
commit
9556dea849
2 files changed
+7
-4
No files matched your search
@@ -59,7 +59,7 @@ class MysqlQueryBuilder extends SqlQueryBuilder
|
||||
$this->push($select);
|
||||
}
|
||||
|
||||
$select->distinct = $distinct;
|
||||
$select->distinct = $select->distinct || $distinct;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user