From 6a49786563f8163ea8ba054aef51f3d8046e53eb Mon Sep 17 00:00:00 2001 From: David Gamez Diaz <1192523+davidgamez@users.noreply.github.com> Date: Thu, 5 Dec 2024 10:42:49 -0500 Subject: [PATCH] fix search wip filter --- api/src/feeds/impl/search_api_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: