mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
include recent artwork in interactions
This commit is contained in:
parent
8d5aad56f6
commit
08e95e0a01
2 changed files with 1 additions and 2 deletions
|
@ -27,7 +27,6 @@ defmodule PhilomenaWeb.CommentLoader do
|
||||||
|> where(image_id: ^image.id)
|
|> where(image_id: ^image.id)
|
||||||
|> filter_direction(comment.created_at, user)
|
|> filter_direction(comment.created_at, user)
|
||||||
|> Repo.aggregate(:count, :id)
|
|> Repo.aggregate(:count, :id)
|
||||||
|> IO.inspect()
|
|
||||||
|
|
||||||
page_size = conn.assigns.comment_scrivener[:page_size]
|
page_size = conn.assigns.comment_scrivener[:page_size]
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ defmodule PhilomenaWeb.ProfileController do
|
||||||
statistics = calculate_statistics(user)
|
statistics = calculate_statistics(user)
|
||||||
|
|
||||||
interactions =
|
interactions =
|
||||||
Interactions.user_interactions([recent_uploads, recent_faves], current_user)
|
Interactions.user_interactions([recent_uploads, recent_faves, recent_artwork], current_user)
|
||||||
|
|
||||||
bans =
|
bans =
|
||||||
Bans.User
|
Bans.User
|
||||||
|
|
Loading…
Reference in a new issue