Fix: Remove page param from search action input
This commit is contained in:
parent
3d270ce9a4
commit
2f2e95cd23
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue