Merge branch 'ent-9747-14463-faltan-eventos-en-la-consola-cuando-se-seleccionan-todos' into 'develop'
Ent 9747 14463 faltan eventos en la consola cuando se seleccionan todos See merge request artica/pandorafms!5251
This commit is contained in:
commit
884e07d11e
|
@ -1840,11 +1840,14 @@ function events_get_all(
|
|||
);
|
||||
|
||||
if (isset($limit, $offset) === true
|
||||
&& $limit !== 0
|
||||
&& (int) $limit !== 0
|
||||
&& isset($filter['csv_all']) === false
|
||||
) {
|
||||
$count = count($data);
|
||||
$end = ((int) $offset !== 0) ? ($offset + $limit) : $limit;
|
||||
// -1 For pagination 'All'.
|
||||
((int) $limit === -1)
|
||||
? $end = count($data)
|
||||
: $end = ((int) $offset !== 0) ? ($offset + $limit) : $limit;
|
||||
$finally = array_slice($data, $offset, $end, true);
|
||||
$return = [
|
||||
'buffers' => $buffers,
|
||||
|
|
Loading…
Reference in New Issue