Ent 6605 buscador general no encuentra mapas
This commit is contained in:
parent
884a7cabf7
commit
dfeb42983f
|
@ -67,7 +67,7 @@ $table->data[0][8] = html_print_image('images/chart_curve.png', true, ['title' =
|
||||||
$table->data[0][9] = "<a href='index.php?search_category=graphs&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalGraphs).'</a>';
|
$table->data[0][9] = "<a href='index.php?search_category=graphs&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalGraphs).'</a>';
|
||||||
$table->data[0][10] = html_print_image('images/reporting.png', true, ['title' => __('Reports found')]);
|
$table->data[0][10] = html_print_image('images/reporting.png', true, ['title' => __('Reports found')]);
|
||||||
$table->data[0][11] = "<a href='index.php?search_category=reports&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalReports).'</a>';
|
$table->data[0][11] = "<a href='index.php?search_category=reports&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalReports).'</a>';
|
||||||
$table->data[0][12] = html_print_image('images/visual_console_green.png', true, ['title' => __('Maps found')]);
|
$table->data[0][12] = html_print_image('images/visual_console_green.png', true, ['title' => __('Visual consoles')]);
|
||||||
$table->data[0][13] = "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalMaps).'</a>';
|
$table->data[0][13] = "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalMaps).'</a>';
|
||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
$table->data[0][14] = html_print_image('images/policies.png', true, ['title' => __('Policies')]);
|
$table->data[0][14] = html_print_image('images/policies.png', true, ['title' => __('Policies')]);
|
||||||
|
|
|
@ -19,7 +19,7 @@ $maps = false;
|
||||||
$totalMaps = 0;
|
$totalMaps = 0;
|
||||||
|
|
||||||
if ($searchMaps) {
|
if ($searchMaps) {
|
||||||
$user_groups = users_get_groups($config['id_user'], 'AR', false);
|
$user_groups = users_get_groups($config['id_user'], 'AR', true);
|
||||||
$id_user_groups = array_keys($user_groups);
|
$id_user_groups = array_keys($user_groups);
|
||||||
$id_user_groups_str = implode(',', $id_user_groups);
|
$id_user_groups_str = implode(',', $id_user_groups);
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ if ($searchMaps) {
|
||||||
'text' => "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".html_print_image(
|
'text' => "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".html_print_image(
|
||||||
'images/visual_console.png',
|
'images/visual_console.png',
|
||||||
true,
|
true,
|
||||||
['title' => __('Maps')]
|
['title' => __('Visual consoles')]
|
||||||
).'</a>',
|
).'</a>',
|
||||||
'active' => $searchTab == 'maps',
|
'active' => $searchTab == 'maps',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue