mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-18 19:34:23 +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
|
conn
|
||||||
|> put_view(PhilomenaWeb.Api.Json.ImageView)
|
|> 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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue