diff --git a/api/src/feeds/impl/search_api_impl.py b/api/src/feeds/impl/search_api_impl.py index e8906b13d..1ab21693d 100644 --- a/api/src/feeds/impl/search_api_impl.py +++ b/api/src/feeds/impl/search_api_impl.py @@ -42,7 +42,7 @@ def add_search_query_filters(query, search_query, data_type, feed_id, status) -> or_( t_feedsearch.c.operational_status == None, # noqa: E711 t_feedsearch.c.operational_status != "wip", - is_user_email_restricted(), + not is_user_email_restricted(), ) ) if feed_id: