projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f18aef
)
DataObjects/Office.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 08:48:36 +0000
(16:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 08:48:36 +0000
(16:48 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
a7bfec7
..
f0f130c
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-27,7
+27,8
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
function applyFilters($q, $au)
{
//DB_DataObject::debugLevel(1);
- $this->selectAdd(" i18n_translate('c' , Office.country, 'en') as office_id_country_name");
+ $tn = $this->tableName();
+ $this->selectAdd(" i18n_translate('c' , {$tn }.country, 'en') as office_id_country_name");
}
function joinAddCountryWithPerson()