mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Add limit param to all endpoints
This commit is contained in:
		| @@ -78,7 +78,7 @@ class ShowController extends Controller | ||||
|      */ | ||||
|     public function index(): JsonResponse | ||||
|     { | ||||
|         $pageSize   = (int)app('preferences')->getForUser(auth()->user(), 'listPageSize', 50)->data; | ||||
|         $pageSize   = $this->parameters->get('limit'); | ||||
|         $collection = $this->repository->getAll(); | ||||
|         $count      = $collection->count(); | ||||
|         // slice them:
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user