Skip to content

Commit

Permalink
requests: [#855] 5) don't display membership req. in community Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
fenekku committed Jul 5, 2024
1 parent 863af9c commit 443941e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invenio_communities/communities/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def search_community_requests(
must=[
dsl.Q("term", **{"receiver.community": community_id}),
~dsl.Q("term", **{"status": "created"}),
# Excluding explicitly for now
~dsl.Q("term", **{"type": "community-membership-request"})
],
),
**kwargs,
Expand Down

0 comments on commit 443941e

Please sign in to comment.