mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix apparent author query
This commit is contained in:
parent
dd915aa477
commit
f47e9f5e05
2 changed files with 8 additions and 6 deletions
|
@ -26,9 +26,10 @@ defmodule Philomena.Comments.Query do
|
|||
:ok,
|
||||
%{
|
||||
bool: %{
|
||||
must: [
|
||||
%{term: %{anonymous: false}},
|
||||
%{wildcard: %{author: data}}
|
||||
must: %{term: %{anonymous: false}},
|
||||
should: [
|
||||
%{wildcard: %{author: data}},
|
||||
%{term: %{author: data}}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,9 +26,10 @@ defmodule Philomena.Posts.Query do
|
|||
:ok,
|
||||
%{
|
||||
bool: %{
|
||||
must: [
|
||||
%{term: %{anonymous: false}},
|
||||
%{wildcard: %{author: data}}
|
||||
must: %{term: %{anonymous: false}},
|
||||
should: [
|
||||
%{wildcard: %{author: data}},
|
||||
%{term: %{author: data}}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue