From e5008d127d8ee4f5e3a84598a7353e0dcd04fbc2 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 26 May 2024 01:17:05 +0200 Subject: [PATCH] Ignore _url when searching for members --- 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 b253f286..e533ca9a 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->except('page'), 50); + $results = NamiSearchAction::run($api, $request->input('page', 1), $request->except(['page', '_url']), 50); $results->transform(fn ($member) => ['id' => $member->memberId, 'name' => $member->firstname . ' ' . $member->lastname]); return $results; }