mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Changed links in group view. Ticket #1350.
This commit is contained in:
parent
faae647850
commit
e39c7edde3
@ -592,10 +592,17 @@ function treeview_getData ($type) {
|
||||
|
||||
$search_free = get_parameter('search_free', '');
|
||||
$select_status = get_parameter('status', -1);
|
||||
$search_group = get_parameter('search_group', 0);
|
||||
|
||||
if ($search_group) {
|
||||
$avariableGroups[$search_group] = groups_get_name($search_group);
|
||||
} else {
|
||||
$avariableGroups = users_get_groups ();
|
||||
}
|
||||
|
||||
//Get all groups
|
||||
$avariableGroups = users_get_groups ();
|
||||
|
||||
//$avariableGroups = users_get_groups ();
|
||||
|
||||
//Get all groups with agents
|
||||
$full_groups = db_get_all_rows_sql("
|
||||
SELECT DISTINCT id_grupo
|
||||
|
Loading…
x
Reference in New Issue
Block a user