diff --git a/lib/philomena/artist_links.ex b/lib/philomena/artist_links.ex index eeddac65..47f4d286 100644 --- a/lib/philomena/artist_links.ex +++ b/lib/philomena/artist_links.ex @@ -168,7 +168,7 @@ defmodule Philomena.ArtistLinks do def count_artist_links(user) do if Canada.Can.can?(user, :index, %ArtistLink{}) do ArtistLink - |> where([ul], ul.aasm_state in ^["unverified", "link_verified", "contacted"]) + |> where([ul], ul.aasm_state in ^["unverified", "link_verified"]) |> Repo.aggregate(:count, :id) else nil