projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcbb53
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:35:23 +0000
(16:35 +0800)
committer
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:35:23 +0000
(16:35 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
9a5f202
..
4d952a8
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-34,9
+34,9
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
{
$this->_join .= '
LEFT JOIN
-
Companies as join_compan
y
+
i18n as join_countr
y
ON
- join_co
mpany.id = join_person_id_id.company_id
+ join_co
untry.lkey = Office.country
';
$item = DB_DataObject::Factory('Companies');
$this->selectAs($item, 'company_id_%s', 'join_company');