From 59fb81fdc3470c33a7730e2e77ace284bfe7091b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 21 Jul 2024 10:04:31 -0400 Subject: [PATCH] Make sure you can view your moderated deleted and removed communities. - The front end checks to see whether you are a mod, in order to be able to restore deleted / removed communities. This removes a filter which prevents that. - Fixes #4911 --- crates/db_views_actor/src/community_moderator_view.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/db_views_actor/src/community_moderator_view.rs b/crates/db_views_actor/src/community_moderator_view.rs index f58e3fee0..14eb9d2e6 100644 --- a/crates/db_views_actor/src/community_moderator_view.rs +++ b/crates/db_views_actor/src/community_moderator_view.rs @@ -67,8 +67,6 @@ impl CommunityModeratorView { .inner_join(community::table) .inner_join(person::table) .filter(community_moderator::person_id.eq(person_id)) - .filter(community::deleted.eq(false)) - .filter(community::removed.eq(false)) .select((community::all_columns, person::all_columns)) .into_boxed(); if !is_authenticated {