noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 11/39: #1583: [Cosmétique] Liste de catégorie


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 11/39: #1583: [Cosmétique] Liste de catégories de fiches, espace avant les ()
Date: Sat, 11 Jul 2020 13:20:38 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit d4b298b2aeb72ffb766364af464563d849c925ef
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: Sun May 24 21:53:43 2020 +0200

    #1583: [Cosmétique] Liste de catégories de fiches, espace avant les ()
---
 include/fiche.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/fiche.inc.php b/include/fiche.inc.php
index 31e8f5d..8b05b53 100644
--- a/include/fiche.inc.php
+++ b/include/fiche.inc.php
@@ -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');



reply via email to

[Prev in Thread] Current Thread [Next in Thread]