Fix community filtering. (#729)

This commit is contained in:
Dessalines 2022-07-29 23:37:20 -04:00 committed by GitHub
parent 4117d04196
commit 2afcdf0759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View file

@ -219,7 +219,7 @@ export class Community extends Component<any, State> {
page,
limit: Some(fetchLimit),
sort,
type_: Some(ListingType.Community),
type_: Some(ListingType.All),
saved_only: Some(false),
auth: req.auth,
});
@ -232,7 +232,7 @@ export class Community extends Component<any, State> {
page,
limit: Some(fetchLimit),
sort,
type_: Some(ListingType.Community),
type_: Some(ListingType.All),
saved_only: Some(false),
auth: req.auth,
});
@ -486,7 +486,7 @@ export class Community extends Component<any, State> {
page: Some(this.state.page),
limit: Some(fetchLimit),
sort: Some(this.state.sort),
type_: Some(ListingType.Community),
type_: Some(ListingType.All),
community_name: Some(this.state.communityName),
community_id: None,
saved_only: Some(false),
@ -498,7 +498,7 @@ export class Community extends Component<any, State> {
page: Some(this.state.page),
limit: Some(fetchLimit),
sort: Some(this.state.sort),
type_: Some(ListingType.Community),
type_: Some(ListingType.All),
community_name: Some(this.state.communityName),
community_id: None,
saved_only: Some(false),