[-] BO : #PSCFV-2596 - Hide custom features values from customization detail list

This commit is contained in:
mDeflotte
2012-08-06 12:37:21 +00:00
parent d356d8d5da
commit e728f6ef06
2 changed files with 8 additions and 5 deletions

View File

@@ -451,6 +451,9 @@ class AdminFeaturesControllerCore extends AdminController
*/
public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false)
{
if ($this->table == 'feature_value')
$this->_where .= ' AND a.custom = 0';
parent::getList($id_lang, $order_by, $order_way, $start, $limit, $id_lang_shop);
if ($this->table == 'feature')