projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dffc3f
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:45:39 +0000
(17:45 +0800)
committer
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:45:39 +0000
(17:45 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
9511524
..
5488c2f
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-49,7
+49,8
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
i18n AS join_country
ON
(join_country.lkey = Office.country AND join_country.inlang = 'en')
-
+ GROUP BY
+ Office.country
";
$item = DB_DataObject::Factory('I18n');
$this->selectAs($item, 'country_id_%s', 'join_country');