Browse Source

FIX bug with PgSQL on GROUP BY missing column

florian HENRY 9 years ago
parent
commit
d94953c4d7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      htdocs/compta/facture/list.php

+ 2 - 1
htdocs/compta/facture/list.php

@@ -756,7 +756,8 @@ if (! $sall)
     $sql.= ' f.datef, f.date_lim_reglement,';
     $sql.= ' f.paye, f.fk_statut,';
     $sql.= ' f.datec, f.tms,';
-    $sql.= ' s.rowid, s.nom, s.town, s.zip, s.fk_pays, s.code_client, s.client';
+    $sql.= ' s.rowid, s.nom, s.town, s.zip, s.fk_pays, s.code_client, s.client, typent.code';
+    $sql.= ' ,state.code_departement, state.nom';
 }
 else
 {