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
This commit is contained in:
Dessalines 2024-07-21 10:04:31 -04:00
parent 073ff44676
commit 59fb81fdc3

View file

@ -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 {