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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12824 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-31 08:30:49 +00:00
parent 0b3984f8ca
commit f567b36d0f
+1 -1
View File
@@ -1960,7 +1960,7 @@ FileETag INode MTime Size
$orderByPrefix = 'p.';
elseif ($value == 'name')
$orderByPrefix = 'pl.';
elseif ($value == 'manufacturer_name')
elseif ($value == 'manufacturer_name' && $prefix)
{
$orderByPrefix = 'm.';
$value = 'name';