Skip to content

Commit 443941e

Browse files
committed
requests: [inveniosoftware#855] 5) don't display membership req. in community Requests
1 parent 863af9c commit 443941e

File tree

1 file changed

+2
-0
lines changed
  • invenio_communities/communities/services

1 file changed

+2
-0
lines changed

Diff for: invenio_communities/communities/services/service.py

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ def search_community_requests(
169169
must=[
170170
dsl.Q("term", **{"receiver.community": community_id}),
171171
~dsl.Q("term", **{"status": "created"}),
172+
# Excluding explicitly for now
173+
~dsl.Q("term", **{"type": "community-membership-request"})
172174
],
173175
),
174176
**kwargs,

0 commit comments

Comments
 (0)