mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
require that the queryable is always given
This commit is contained in:
parent
620f316db8
commit
b7039af339
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ defmodule Philomena.Elasticsearch do
|
|||
}
|
||||
end
|
||||
|
||||
def search_records(module, elastic_query, pagination_params \\ %{}, ecto_query \\ __MODULE__) do
|
||||
def search_records(module, elastic_query, pagination_params \\ %{}, ecto_query) do
|
||||
page = search_results(module, elastic_query, pagination_params)
|
||||
ids = page.entries
|
||||
|
||||
|
|
Loading…
Reference in a new issue