fix #8820
This commit is contained in:
parent
c7f54439ff
commit
7dada7ae8e
@ -134,7 +134,7 @@ if (dol_strlen($type))
|
||||
$sql.= " AND p.fk_product_type <> '1'";
|
||||
}
|
||||
}
|
||||
if ($sref) $sql.= natural_search('p.ref', $ref);
|
||||
if ($sref) $sql.= natural_search('p.ref', $sref);
|
||||
if ($sbarcode) $sql.= natural_search('p.barcode', $sbarcode);
|
||||
if ($snom) $sql.= natural_search('p.label', $snom);
|
||||
if (! empty($tosell)) $sql.= " AND p.tosell = ".$tosell;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user