Skip to content

Commit

Permalink
Fix elixir 1.18 compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
axelson authored and cpjolicoeur committed Feb 10, 2025
1 parent 835b41d commit 4b8cf49
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/torch/views/filter_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,6 @@ defmodule Torch.FilterView do
tag(:input, type: "text", class: "datepicker #{class}", name: name, value: value)
end

defp find_param(params, field, :string) do
do_find_param(params, field, "contains")
end

defp find_param(params, field, :number) do
do_find_param(params, field, "equals")
end

defp find_param(params, field, :select) do
do_find_param(params, field, ~w(contains equals))
end
Expand Down

0 comments on commit 4b8cf49

Please sign in to comment.