Merge pull request #14132 from aspangaro/12p2

FIX: SQL Problem in supplier invoice list
This commit is contained in:
Laurent Destailleur
2020-06-28 21:11:56 +02:00
committed by GitHub

View File

@@ -407,7 +407,8 @@ if (!$search_all)
$sql .= " typent.code,";
$sql .= " state.code_departement, state.nom,";
$sql .= ' country.code,';
$sql .= " p.rowid, p.ref, p.title";
$sql .= " p.rowid, p.ref, p.title,";
$sql .= " u.login";
if (!empty($extrafields->attributes[$object->table_element]['label'])) {
foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) {
//prevent error with sql_mode=only_full_group_by