#1583: [Cosmétique] Liste de catégories de fiches, espace avant les ()

This commit is contained in:
Dany De Bontridder 2020-05-24 21:53:43 +02:00 committed by Dany De Bontridder
parent 577229bde9
commit d4b298b2ae

View file

@ -37,7 +37,7 @@ global $g_user, $g_failed;
*/
/* category */
$categorie = new ISelect('cat');
$categorie->value = $cn->make_array("select fd_id,fd_label||'('||(select count(*) from fiche where fiche.fd_id=fiche_def.fd_id)::text||')' from fiche_def order by fd_label");
$categorie->value = $cn->make_array("select fd_id,fd_label||' ('||(select count(*) from fiche where fiche.fd_id=fiche_def.fd_id)::text||')' from fiche_def order by fd_label");
$categorie->selected = $http->get('cat','number',0);
$str_categorie = $categorie->input();
$ac = $http->request('ac');