mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
preload deleted by in post list
This commit is contained in:
parent
6c3515799b
commit
be55b65063
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ defmodule PhilomenaWeb.PostController do
|
|||
sort: %{created_at: :desc}
|
||||
},
|
||||
conn.assigns.pagination,
|
||||
Post |> preload([topic: :forum, user: [awards: :badge]])
|
||||
Post |> preload([:deleted_by, topic: :forum, user: [awards: :badge]])
|
||||
)
|
||||
|
||||
rendered =
|
||||
|
|
Loading…
Reference in a new issue