1
Hi,
I'm not an expert, but I detected that: in "Search" option, in case there is not text, is published, are stock, and don't select a manufacturer, you obtain a sql sentence like this:
Quote:
SELECT b.product_id, b.product_title, b.product_submitted, b.product_submitter
FROM sn54d_oledrion_products b, sn54d_oledrion_productsmanu a
WHERE (b.product_id = a.pm_product_id ) AND b.product_cid = 0 AND GROUP BY b.product_id ORDER BY product_submitted DESC
You can see there is a AND isolate and the result is not exist products.
I resolve it changing the line 136 adding a AND like this:
Quote:
$sql2 .= ' AND (a.pm_manu_id IN ( '.implode(',', $auteurs).'))';
Is this correct?
Thanks, and excuse my bad english.