mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Format
This commit is contained in:
parent
dadc2f1585
commit
c07fbec0e6
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ defmodule PhilomenaWeb.ImageController do
|
|||
plug PhilomenaWeb.AdvertPlug when action in [:show]
|
||||
|
||||
def index(conn, _params) do
|
||||
{:ok, {images, _tags}} = ImageLoader.search_string(conn, "created_at.lte:3 minutes ago, thumbnails_generated:true")
|
||||
{:ok, {images, _tags}} =
|
||||
ImageLoader.search_string(conn, "created_at.lte:3 minutes ago, thumbnails_generated:true")
|
||||
|
||||
images = Elasticsearch.search_records(images, preload(Image, tags: :aliases))
|
||||
|
||||
|
|
Loading…
Reference in a new issue