mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
add total back to search api
This commit is contained in:
parent
ef0eee0105
commit
f8aa0a68df
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ defmodule PhilomenaWeb.Api.Json.SearchController do
|
|||
conn
|
||||
|> json(%{
|
||||
images: Enum.map(images, &ImageJson.as_json(conn, &1)),
|
||||
total: images.total_entries,
|
||||
interactions: interactions
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue