mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -93,11 +93,13 @@ class Anagrafiche extends Resource implements RetrieveInterface, CreateInterface
|
||||
$query = $query->havingRaw($having);
|
||||
}
|
||||
|
||||
$total_count = $query->count();
|
||||
|
||||
return [
|
||||
'results' => $query->skip($request['page'] * $request['length'])
|
||||
->limit($request['length'])
|
||||
->get()->toArray(),
|
||||
'total-count' => $query->count(),
|
||||
'total-count' => $total_count,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
0
modules/piano_sconto/add.php
Normal file → Executable file
0
modules/piano_sconto/add.php
Normal file → Executable file
0
modules/piano_sconto/edit.php
Normal file → Executable file
0
modules/piano_sconto/edit.php
Normal file → Executable file
Reference in New Issue
Block a user