fix select fields

This commit is contained in:
Christophe Battarel 2022-04-28 10:53:16 +02:00
parent 25fbd3b385
commit 729d1f57aa

View File

@ -208,7 +208,7 @@ if ($action == 'getProducts') {
}
}
$sql = 'SELECT rowid, ref, label, tosell, tobuy, barcode, price' ;
$sql = 'SELECT p.rowid, p.ref, p.label, p.tosell, p.tobuy, p.barcode, p.price' ;
// Add fields from hooks
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldListSelect', $parameters); // Note that $action and $object may have been modified by hook