From 86aa8d3882a833a2e21802787f55ab66055251f1 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 31 Jan 2012 08:30:49 +0000 Subject: [PATCH] // Fix bug with product ordering by manufaturer name on the function Tools::getProductsOrder --- classes/Tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index c0c09c52f..333800efb 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -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';