Commit 16dad809914d2b0ca1e4bf527ef28d1939027fd0
1 parent
9bdee49d
Exists in
gitlab_activity_view
Changed community name to identifier
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/colab-spb-plugin/src/colab_spb/views.py
| ... | ... | @@ -73,8 +73,8 @@ def get_community_association(community, limit=7, offset=0): |
| 73 | 73 | |
| 74 | 74 | associations = CommunityAssociations.objects.all() |
| 75 | 75 | for community_association in associations: |
| 76 | - if community_association.community.name in community: | |
| 77 | - return {'community': community_association.community.name, | |
| 76 | + if community_association.community.identifier in community: | |
| 77 | + return {'community': community_association.community.identifier, | |
| 78 | 78 | 'repository': community_association.group.url, |
| 79 | 79 | 'mailman_list': community_association.mail_list.name, |
| 80 | 80 | 'limit': limit, | ... | ... |