mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added some docs
This commit is contained in:
parent
05a0eb0db6
commit
6372f44212
@ -4241,6 +4241,13 @@ function events_get_sql_order($sort_field = "timestamp", $sort = "DESC", $group_
|
|||||||
return "ORDER BY $sort_field_translated $dir";
|
return "ORDER BY $sort_field_translated $dir";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SQL left join of event queries to handle secondary groups
|
||||||
|
*
|
||||||
|
* @param string Table to see if is metaconsole or not
|
||||||
|
*
|
||||||
|
* @return string With the query.
|
||||||
|
*/
|
||||||
function events_get_secondary_groups_left_join($table) {
|
function events_get_secondary_groups_left_join($table) {
|
||||||
if ($table == 'tevento') {
|
if ($table == 'tevento') {
|
||||||
return "LEFT JOIN tagent_secondary_group tasg ON te.id_agente = tasg.id_agent";
|
return "LEFT JOIN tagent_secondary_group tasg ON te.id_agente = tasg.id_agent";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user