Skip to content

Commit

Permalink
Fix bug when hitting enter in search
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiotapia committed Jan 18, 2024
1 parent 1add777 commit 41a7279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/magnetissimo_web/live/search_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule MagnetissimoWeb.SearchLive do
url = URI.parse(uri) |> URI.to_string()

filter_opts = %{
search: params["search"] || ""
search: params["filter"]["search"] || ""
}

socket =
Expand Down

0 comments on commit 41a7279

Please sign in to comment.