mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
correctly pass keyword list
This commit is contained in:
parent
df6532a7af
commit
0fac15353e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ defmodule PhilomenaWeb.ForumController do
|
||||||
|> where(hidden_from_users: false)
|
|> where(hidden_from_users: false)
|
||||||
|> order_by(desc: :sticky, desc: :last_replied_to_at)
|
|> order_by(desc: :sticky, desc: :last_replied_to_at)
|
||||||
|> preload([:poll, :forum, :user, last_post: :user])
|
|> preload([:poll, :forum, :user, last_post: :user])
|
||||||
|> Repo.paginate(page: conn.assigns.scrivener)
|
|> Repo.paginate(conn.assigns.scrivener)
|
||||||
|
|
||||||
render(conn, "show.html", forum: conn.assigns.forum, topics: topics)
|
render(conn, "show.html", forum: conn.assigns.forum, topics: topics)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue