From 6352d2663343a8c9ec4a411e79bdd59e6c0d28e2 Mon Sep 17 00:00:00 2001 From: Sander Dorigo Date: Mon, 1 Sep 2025 13:38:32 +0200 Subject: [PATCH] fix argument --- app/Api/V1/Controllers/Models/Account/ShowController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Api/V1/Controllers/Models/Account/ShowController.php b/app/Api/V1/Controllers/Models/Account/ShowController.php index 81e3bc1185..3fdb1982c9 100644 --- a/app/Api/V1/Controllers/Models/Account/ShowController.php +++ b/app/Api/V1/Controllers/Models/Account/ShowController.php @@ -82,7 +82,8 @@ class ShowController extends Controller // get list of accounts. Count it and split it. $this->repository->resetAccountOrder(); - $collection = $this->repository->getAccountsByType($types, $params['sort']); + // TODO fix sort. + $collection = $this->repository->getAccountsByType($types, null); $count = $collection->count(); // continue sort: