mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
fix #8820
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user