Minor work on ADSL/Domain/Hosting and other minor fixes
This commit is contained in:
@@ -23,6 +23,9 @@ class Model_Product extends ORMOSB {
|
||||
);
|
||||
|
||||
protected $_display_filters = array(
|
||||
'active'=>array(
|
||||
array('StaticList_YesNo::display',array(':value')),
|
||||
),
|
||||
'price_type'=>array(
|
||||
array('StaticList_PriceType::display',array(':value')),
|
||||
),
|
||||
@@ -43,6 +46,7 @@ class Model_Product extends ORMOSB {
|
||||
|
||||
/**
|
||||
* Get the product name, after translating
|
||||
* @todo This needs to be improved to find the right language item.
|
||||
*/
|
||||
public function name() {
|
||||
return $this->product_translate->find()->display('name');
|
||||
|
Reference in New Issue
Block a user