Fix: Remove page param from search action input

This commit is contained in:
philipp lang 2024-03-01 03:00:59 +01:00
parent 3d270ce9a4
commit 2f2e95cd23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}