Skip to content

Commit

Permalink
members: only use base attrs in user relationship
Browse files Browse the repository at this point in the history
* Limits the user fields send for indexing to avoid issues when
  extending the user profile. (closes invenio-app-rdm#2198)
  • Loading branch information
egabancho committed Apr 15, 2024
1 parent 593cd38 commit 1f8e6ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invenio_communities/members/records/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ class MemberMixin:
attrs=[
"email",
"username",
"profile",
# "profile",
"preferences",
"active",
"confirmed",
"verified_at",
],
keys=[],
),
group=ModelRelation(
GroupAggregate,
Expand Down

0 comments on commit 1f8e6ee

Please sign in to comment.