From 2f2e95cd23b8af8e9ae52a8c07bf140666166f3f Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 1 Mar 2024 03:00:59 +0100 Subject: [PATCH] Fix: Remove page param from search action input --- app/Remote/Actions/SearchAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Remote/Actions/SearchAction.php b/app/Remote/Actions/SearchAction.php index 05f80cab..b253f286 100644 --- a/app/Remote/Actions/SearchAction.php +++ b/app/Remote/Actions/SearchAction.php @@ -23,7 +23,7 @@ class SearchAction $api = Nami::login($credentials->mglnr, $credentials->password); - $results = NamiSearchAction::run($api, $request->input('page', 1), $request->input(), 50); + $results = NamiSearchAction::run($api, $request->input('page', 1), $request->except('page'), 50); $results->transform(fn ($member) => ['id' => $member->memberId, 'name' => $member->firstname . ' ' . $member->lastname]); return $results; }