mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
respect tag filters
This commit is contained in:
parent
f5cead1379
commit
5c4b19edff
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ defmodule PhilomenaWeb.CommentController do
|
||||||
%{
|
%{
|
||||||
query: %{
|
query: %{
|
||||||
bool: %{
|
bool: %{
|
||||||
must: parse_search(conn, params) ++ [%{term: %{hidden_from_users: false}}]
|
must: parse_search(conn, params) ++ [%{term: %{hidden_from_users: false}}],
|
||||||
|
must_not: %{terms: %{image_tag_ids: conn.assigns.current_filter.hidden_tag_ids}}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sort: parse_sort(params)
|
sort: parse_sort(params)
|
||||||
|
|
Loading…
Reference in a new issue