[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 26/323: Task#1461 : nombre de fiches dans ca
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 26/323: Task#1461 : nombre de fiches dans catégorie |
Date: |
Wed, 14 Mar 2018 17:38:12 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1717dac2e8f52fdd1f3e9ced1b513eacee3b7380
Author: Dany De Bontridder <address@hidden>
Date: Mon Jan 8 11:40:07 2018 +0100
Task#1461 : nombre de fiches dans catégorie
---
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 b16423a..e4c6d72 100644
--- a/include/fiche.inc.php
+++ b/include/fiche.inc.php
@@ -36,7 +36,7 @@ global $g_user, $g_failed;
*/
/* category */
$categorie = new ISelect('cat');
-$categorie->value = $cn->make_array('select fd_id,fd_label 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 = (isset($_GET['cat'])) ? $_GET['cat'] : 0;
$str_categorie = $categorie->input();
- [Noalyss-commit] [noalyss] 15/323: Fix problem with font OpenSans, (continued)
- [Noalyss-commit] [noalyss] 15/323: Fix problem with font OpenSans, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 19/323: Task #1516 : Module période : add icon for closing / opening, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 12/323: Rewriting periode : add format date + exception, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 24/323: use calcy instead of computing the scroll, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 20/323: Add documentation , code rewriting : use of title_box, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 25/323: Task#1461 : nombre de fiches dans catégorie, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 27/323: set_jrn in deprecated and replaced by set_ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 22/323: code rewriting : use of title_box + button close for Card Detail, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 28/323: Task #1466 : add a receipt number if paid by an ODS ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 21/323: code rewriting : use of title_box + button close for Card Detail, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 26/323: Task#1461 : nombre de fiches dans catégorie,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 29/323: Task #1466 : add a receipt number if paid by an ODS ledger (Sale & Sold), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 32/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 30/323: Task #1326 & #1512 = ajout détail extourne, libellé, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 39/323: Bug : profile_id was missing, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 35/323: Bug in Manage_Table_SQL when an exception is thrown from ajax_input, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 44/323: Misplacing of box due to a change in the id name, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 37/323: Task #1518:Modèle de Catégorie de fiche : ajout sécurité + attribut minimum, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 31/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 33/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 36/323: Bug in Manage_Table_SQL when an exception is thrown from ajax_input, Dany De Bontridder, 2018/03/14