PMCORE-2631

This commit is contained in:
Julio Cesar Laura Avendaño
2020-12-23 14:10:29 +00:00
parent 0e85611c78
commit 0922517063

View File

@@ -1606,7 +1606,7 @@ class Delegation extends Model
}
$items = $query->get();
$items->each(function ($item) use (&$data) {
$data[] = get_object_vars($item);
$data[] = $item->toArray();
});
} else {
// Set offset and limit if were sent