// Fix bug with product ordering by manufaturer name on the function Tools::getProductOrder

This commit is contained in:
mDeflotte
2012-01-31 08:17:24 +00:00
parent 149dfbfcf7
commit 14425c7a10
+3
View File
@@ -1961,7 +1961,10 @@ FileETag INode MTime Size
elseif ($value == 'name')
$orderByPrefix = 'pl.';
elseif ($value == 'manufacturer_name')
{
$orderByPrefix = 'm.';
$value = 'name';
}
elseif ($value == 'position' || empty($value))
$orderByPrefix = 'cp.';
}