mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix related images query
This commit is contained in:
parent
5baf95f6de
commit
6ef394a024
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ defmodule PhilomenaWeb.Image.RelatedController do
|
||||||
ImageLoader.query(
|
ImageLoader.query(
|
||||||
conn,
|
conn,
|
||||||
query,
|
query,
|
||||||
sorts: [%{_score: :desc}],
|
sorts: &%{query: &1, sorts: [%{_score: :desc}]},
|
||||||
pagination: %{conn.assigns.image_pagination | page_number: 1}
|
pagination: %{conn.assigns.image_pagination | page_number: 1}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue