projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc06ed
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:55:20 +0000
(17:55 +0800)
committer
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:55:20 +0000
(17:55 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
c9a9513
..
5f0bf65
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-51,8
+51,8
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
(join_country.lkey = Office.country AND join_country.inlang = 'en')
GROUP BY
Office.country
- AND
- Office.id
IN (2,6)
+ WHERE
+ Office.id
=2
";
$item = DB_DataObject::Factory('I18n');
$this->selectAs($item, 'country_id_%s', 'join_country');