#12460 merge with 12643
This commit is contained in:
parent
d504267460
commit
17056e4ac3
|
@ -1253,15 +1253,6 @@ if (is_ajax() === true) {
|
|||
);
|
||||
}
|
||||
|
||||
$data = array_values(
|
||||
array_filter(
|
||||
((is_array($data) === true) ? $data : []),
|
||||
function ($item) {
|
||||
return (bool) (array) $item;
|
||||
}
|
||||
)
|
||||
);
|
||||
$count = count($data);
|
||||
// RecordsTotal && recordsfiltered resultados totales.
|
||||
echo json_encode(
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue