mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
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:
parent
073ff44676
commit
59fb81fdc3
1 changed files with 0 additions and 2 deletions
|
@ -67,8 +67,6 @@ impl CommunityModeratorView {
|
||||||
.inner_join(community::table)
|
.inner_join(community::table)
|
||||||
.inner_join(person::table)
|
.inner_join(person::table)
|
||||||
.filter(community_moderator::person_id.eq(person_id))
|
.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))
|
.select((community::all_columns, person::all_columns))
|
||||||
.into_boxed();
|
.into_boxed();
|
||||||
if !is_authenticated {
|
if !is_authenticated {
|
||||||
|
|
Loading…
Reference in a new issue