From 134c189b4a89419967558c6cbd2e95b4dda1c641 Mon Sep 17 00:00:00 2001 From: Eric Wang <37554696+ericwang401@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:34:19 -0600 Subject: [PATCH] Make search by address exact in Address Resource --- app/Http/Controllers/Admin/AddressPools/AddressController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/AddressPools/AddressController.php b/app/Http/Controllers/Admin/AddressPools/AddressController.php index 9608c6441be..cdb3364d19a 100644 --- a/app/Http/Controllers/Admin/AddressPools/AddressController.php +++ b/app/Http/Controllers/Admin/AddressPools/AddressController.php @@ -33,7 +33,7 @@ public function index(Request $request, AddressPool $addressPool) ->with('server') ->defaultSort('-id') ->allowedFilters( - ['address', AllowedFilter::exact('type'), AllowedFilter::custom( + [AllowedFilter::exact('address'), AllowedFilter::exact('type'), AllowedFilter::custom( '*', new FiltersAddress, ), AllowedNullableFilter::exact('server_id')],