CARD: show only count of available cards in the SELECT
This commit is contained in:
parent
77544dda83
commit
01d8f1786e
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ global $g_user, $g_failed;
|
|||
*/
|
||||
/* var categorie ISelect select card 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 and f_enable='1')::text||')' from fiche_def order by fd_label");
|
||||
$categorie->selected = $http->get('cat','number',0);
|
||||
|
||||
// var $str_categorie string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue