diff --git a/lib/philomena_web/controllers/image/reporting_controller.ex b/lib/philomena_web/controllers/image/reporting_controller.ex index 9828b136..fe2bb4f3 100644 --- a/lib/philomena_web/controllers/image/reporting_controller.ex +++ b/lib/philomena_web/controllers/image/reporting_controller.ex @@ -14,7 +14,7 @@ defmodule PhilomenaWeb.Image.ReportingController do dupe_reports = DuplicateReport - |> preload([image: :tags, duplicate_of_image: :tags]) + |> preload(image: [:user, :tags], duplicate_of_image: [:user, :tags]) |> where([d], d.image_id == ^image.id or d.duplicate_of_image_id == ^image.id) |> Repo.all()