Update movement_list.php

This commit is contained in:
Laurent Destailleur 2021-06-11 18:09:17 +02:00 committed by GitHub
parent 99cada2d43
commit bdded2af17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -551,7 +551,7 @@ if (!empty($search_batch)) {
if (!empty($product_id)) {
$sql .= natural_search('p.rowid', $product_id);
}
if (!empty($search_fk_projet)) {
if (!empty($search_fk_projet) && $search_fk_projet != '-1') {
$sql .= natural_search('m.fk_projet', $search_fk_projet);
}
if ($search_qty != '') {