From d7c8b89debaaa71f864293bc79dbaecadbc2bc60 Mon Sep 17 00:00:00 2001 From: jsalyers <jsalyers@syncad.com> Date: Thu, 11 Jun 2020 11:58:34 -0400 Subject: [PATCH] [JES] I changed it to union all once already, not sure how it reverted --- hive/server/common/mutes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hive/server/common/mutes.py b/hive/server/common/mutes.py index 4b80510c4..375501991 100644 --- a/hive/server/common/mutes.py +++ b/hive/server/common/mutes.py @@ -14,7 +14,7 @@ WITH blacklisted_users AS ( SELECT following, 'my_blacklist' AS source FROM hive_follows WHERE follower = (SELECT id FROM hive_accounts WHERE name = :observer ) AND blacklisted - UNION + UNION ALL SELECT following, 'my_followed_blacklists' AS source FROM hive_follows WHERE follower IN (SELECT following FROM hive_follows WHERE follower = (SELECT id FROM hive_accounts WHERE name = :observer ) -- GitLab