From c271f61ef9405c281c08a920857a73ee1a309637 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 9 Jan 2013 14:51:40 +0800 Subject: [PATCH] DataObjects/Office.php --- DataObjects/Office.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Office.php b/DataObjects/Office.php index bcd2bbe0..0b4d8064 100644 --- a/DataObjects/Office.php +++ b/DataObjects/Office.php @@ -31,7 +31,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject if(!empty($q['_join_country_with_person'])){ $tn = $this->tableName(); $this->selectAdd(); - $this->selectAdd(" i18n_translate('c' , country, 'en') as office_id_country_name"); + $this->selectAdd(" i18n_translate('c' , Office.country, 'en') as office_id_country_name"); $this->_extra_col = array('office_country_name'); //$this->query('_distinct=office_id_country&cols=office_id_country,office_id_country_name'); //then the query should be _distinct=office_id_country&cols=office_id_country,office_id_country_name -- 2.39.2