Skip to content
Snippets Groups Projects
Commit d7c8b89d authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] I changed it to union all once already, not sure how it reverted

parent f6eaaa3f
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ WITH blacklisted_users AS ( ...@@ -14,7 +14,7 @@ WITH blacklisted_users AS (
SELECT following, 'my_blacklist' AS source FROM hive_follows WHERE follower = SELECT following, 'my_blacklist' AS source FROM hive_follows WHERE follower =
(SELECT id FROM hive_accounts WHERE name = :observer ) (SELECT id FROM hive_accounts WHERE name = :observer )
AND blacklisted AND blacklisted
UNION UNION ALL
SELECT following, 'my_followed_blacklists' AS source FROM hive_follows WHERE follower IN SELECT following, 'my_followed_blacklists' AS source FROM hive_follows WHERE follower IN
(SELECT following FROM hive_follows WHERE follower = (SELECT following FROM hive_follows WHERE follower =
(SELECT id FROM hive_accounts WHERE name = :observer ) (SELECT id FROM hive_accounts WHERE name = :observer )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment