mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-10850-meter-la-vista-actual-de-la-vista-detalle-de-agentes-en-el-sistema-de-favoritos' into 'develop'
Ent 10850 meter la vista actual de la vista detalle de agentes en el sistema de favoritos See merge request artica/pandorafms!6196
This commit is contained in:
commit
52d37be6c9
@ -223,6 +223,14 @@ if ($loaded_filter['id_filter'] > 0) {
|
|||||||
if (is_array($policies) === false) {
|
if (is_array($policies) === false) {
|
||||||
$policies = json_decode(io_safe_output($policies), true);
|
$policies = json_decode(io_safe_output($policies), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fav menu.
|
||||||
|
$fav_menu = [
|
||||||
|
'id_element' => $loaded_filter['id_filter'],
|
||||||
|
'url' => 'operation/agentes/estado_agente&pure=&load_filter=1&filter_id='.$loaded_filter['id_filter'],
|
||||||
|
'label' => $loaded_filter['id_name'],
|
||||||
|
'section' => 'Agente',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
|
if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
|
||||||
@ -267,7 +275,8 @@ ui_print_standard_header(
|
|||||||
'link' => '',
|
'link' => '',
|
||||||
'label' => __('Views'),
|
'label' => __('Views'),
|
||||||
],
|
],
|
||||||
]
|
],
|
||||||
|
(empty($fav_menu) === true) ? [] : $fav_menu
|
||||||
);
|
);
|
||||||
|
|
||||||
if ((bool) $strict_user === false) {
|
if ((bool) $strict_user === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user