mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
Fix API reverse search
This commit is contained in:
parent
4dd0c8c11b
commit
1550125b52
1 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,10 @@ defmodule PhilomenaWeb.Api.Json.Search.ReverseController do
|
|||
|
||||
conn
|
||||
|> put_view(PhilomenaWeb.Api.Json.ImageView)
|
||||
|> render("index.json", images: images, total: length(images), interactions: interactions)
|
||||
|> render("index.json",
|
||||
images: images,
|
||||
total: images.total_entries,
|
||||
interactions: interactions
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue