Revision de50d96d
b/snf-astakos-app/astakos/im/models.py | ||
---|---|---|
1123 | 1123 |
Return projects accessed by specified user. |
1124 | 1124 |
""" |
1125 | 1125 |
return self.filter(Q(owner=user) | Q(applicant=user) | \ |
1126 |
Q(project__projectmembership__person=user)) |
|
1126 |
Q(project__projectmembership__person=user)).distinct()
|
|
1127 | 1127 |
|
1128 | 1128 |
def search_by_name(self, *search_strings): |
1129 | 1129 |
q = Q() |
Also available in: Unified diff