Skip to content

Commit 6a49786

Browse files
committed
fix search wip filter
1 parent 839f1e5 commit 6a49786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/feeds/impl/search_api_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def add_search_query_filters(query, search_query, data_type, feed_id, status) ->
4242
or_(
4343
t_feedsearch.c.operational_status == None, # noqa: E711
4444
t_feedsearch.c.operational_status != "wip",
45-
is_user_email_restricted(),
45+
not is_user_email_restricted(),
4646
)
4747
)
4848
if feed_id:

0 commit comments

Comments
 (0)