mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
api relevance sorting, fixes #83
This commit is contained in:
parent
f6cb193bdf
commit
5f9e9d98a6
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ defmodule PhilomenaWeb.Api.Json.Search.ImageController do
|
|||
case ImageLoader.search_string(conn, params["q"],
|
||||
sorts: sort.sorts,
|
||||
queries: sort.queries,
|
||||
constant_score: sort.constant_score,
|
||||
queryable: queryable
|
||||
) do
|
||||
{:ok, {images, _tags}} ->
|
||||
|
|
Loading…
Reference in a new issue