Skip to content

Commit

Permalink
user account summary charts added
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Aug 25, 2024
1 parent c8d8f1b commit 0d7b236
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Repositories/Eloquent/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ public function list(array $filters = [])
$query->select('users.*');
}

if (!empty($filters['limit'])) {
$query->limit($filters['limit']);
}

if (!empty($filters['offset'])) {
$query->offset($filters['offset']);
}


//Execute Output
return $this->executeQuery($query, $filters);
Expand Down

0 comments on commit 0d7b236

Please sign in to comment.