Now the groups has their icon

This commit is contained in:
Alejandro Gallardo Escobar 2014-12-18 18:11:51 +01:00
parent 90deab0e3b
commit 804b7743fc
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Tree {
// First filter by name and father
$groups = db_get_all_rows_filter('tgrupo',
$filter,
array('id_grupo', 'nombre'));
array('id_grupo', 'nombre', 'icon'));
if (empty($groups))
$groups = array();
@ -200,6 +200,7 @@ class Tree {
$data['id'] = $group['id_grupo'];
$data['type'] = 'group';
$data['name'] = $group['nombre'];
$data['icon'] = $group['icon'];
$data['searchChildren'] = $group['searchChildren'];
$data['searchCounters'] = $group['searchCounters'];