fix: added email serach and ommitted fields

This commit is contained in:
carla 2025-11-12 11:55:35 +01:00
parent 0c75776915
commit a69ccf0ff9
2 changed files with 6 additions and 16 deletions

View file

@ -193,8 +193,7 @@ defmodule MvWeb.MemberLive.Index do
if search_query && String.trim(search_query) != "" do
query
|> Mv.Membership.Member.fuzzy_search(%{
query: search_query,
fields: [:first_name, :last_name, :street]
query: search_query
})
else
query