// Fix bug with product ordering by manufaturer name on the function Tools::getProductOrder
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12821 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1961,7 +1961,10 @@ FileETag INode MTime Size
|
|||||||
elseif ($value == 'name')
|
elseif ($value == 'name')
|
||||||
$orderByPrefix = 'pl.';
|
$orderByPrefix = 'pl.';
|
||||||
elseif ($value == 'manufacturer_name')
|
elseif ($value == 'manufacturer_name')
|
||||||
|
{
|
||||||
$orderByPrefix = 'm.';
|
$orderByPrefix = 'm.';
|
||||||
|
$value = 'name';
|
||||||
|
}
|
||||||
elseif ($value == 'position' || empty($value))
|
elseif ($value == 'position' || empty($value))
|
||||||
$orderByPrefix = 'cp.';
|
$orderByPrefix = 'cp.';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user