diff --git a/lib/philomena/tags.ex b/lib/philomena/tags.ex index f2ecb98d..3e7051e8 100644 --- a/lib/philomena/tags.ex +++ b/lib/philomena/tags.ex @@ -209,7 +209,7 @@ defmodule Philomena.Tags do new_count = Image |> join(:inner, [i], _ in assoc(i, :tags)) - |> where([i, t], i.hidden_from_users == true and t.id == ^target_tag.id) + |> where([i, t], i.hidden_from_users == false and t.id == ^target_tag.id) |> Repo.aggregate(:count, :id) Tag