mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-5727-Eventos-campos-Agent-ID-y-Agent-name' into 'develop'
fixed agent id strange behavior in events table See merge request artica/pandorafms!3231
This commit is contained in:
commit
38e4281395
@ -1962,17 +1962,7 @@ function process_datatables_item(item) {
|
|||||||
|
|
||||||
/* Agent ID link */
|
/* Agent ID link */
|
||||||
if (item.id_agente > 0) {
|
if (item.id_agente > 0) {
|
||||||
<?php
|
|
||||||
if (in_array('agent_name', $fields)) {
|
|
||||||
?>
|
|
||||||
item.id_agente = '<a href="'+url_link+item.id_agente+url_link_hash+'">' + item.id_agente + '</a>';
|
item.id_agente = '<a href="'+url_link+item.id_agente+url_link_hash+'">' + item.id_agente + '</a>';
|
||||||
<?php
|
|
||||||
} else {
|
|
||||||
?>
|
|
||||||
item.id_agente = '<a href="'+url_link+item.id_agente+url_link_hash+'">' + item.agent_name + '</a>';
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
} else {
|
} else {
|
||||||
item.id_agente = '';
|
item.id_agente = '';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user