Merge branch 'ent-9541-14226-Añadir-comentarios-a-eventos-rapidamente-por-API-rompe-la-visualizacion-del-comentario' into 'develop'
fixed limitation of group_concat Ref pandora_enterprise#9541 See merge request artica/pandorafms!5130
This commit is contained in:
commit
fadd5d3a2e
|
@ -1472,7 +1472,6 @@ function events_get_all(
|
|||
// Secondary groups.
|
||||
$event_lj = '';
|
||||
if (!$user_is_admin || ($user_is_admin && isset($groups) === true && $groups > 0)) {
|
||||
db_process_sql('SET group_concat_max_len = 9999999');
|
||||
if ((bool) $filter['search_secondary_groups'] === true) {
|
||||
$event_lj = events_get_secondary_groups_left_join($table);
|
||||
}
|
||||
|
@ -1486,6 +1485,8 @@ function events_get_all(
|
|||
unset($fields[$idx]);
|
||||
}
|
||||
|
||||
db_process_sql('SET group_concat_max_len = 9999999');
|
||||
|
||||
$group_selects = sprintf(
|
||||
',COUNT(id_evento) AS event_rep,
|
||||
%s
|
||||
|
|
Loading…
Reference in New Issue