We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ccb942d + f5d0f93 commit a227a75Copy full SHA for a227a75
lib/backpex/live_resource/index.ex
@@ -328,7 +328,7 @@ defmodule Backpex.LiveResource.Index do
328
329
defp find_item_by_primary_value(items, primary_value, live_resource) do
330
Enum.find(items, fn item ->
331
- to_string(LiveResource.primary_value(item, live_resource)) == primary_value
+ to_string(LiveResource.primary_value(item, live_resource)) == to_string(primary_value)
332
end)
333
end
334
0 commit comments