Skip to content

Commit

Permalink
Make search by address exact in Address Resource
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Nov 22, 2023
1 parent b52638d commit 134c189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')],
Expand Down

0 comments on commit 134c189

Please sign in to comment.