projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afbadbc
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:41:00 +0000
(16:41 +0800)
committer
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:41:00 +0000
(16:41 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
2eca88f
..
ed30c3f
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->joinAddCountry();
+ //$this->joinAddCountry();
+ $this->selectAdd("(SELECT lval FROM i18n WHERE lkey = {$this->country}) AS country_name");
}