Show More
@@ -2498,7 +2498,9 b' class RepoGroup(Base, BaseModel):' | |||
|
2498 | 2498 | |
|
2499 | 2499 | return cls.query()\ |
|
2500 | 2500 | .filter(cls.personal == true()) \ |
|
2501 |
.filter(cls.user == user) |
|
|
2501 | .filter(cls.user == user) \ | |
|
2502 | .order_by(cls.group_id.asc()) \ | |
|
2503 | .first() | |
|
2502 | 2504 | |
|
2503 | 2505 | @classmethod |
|
2504 | 2506 | def get_all_repo_groups(cls, user_id=Optional(None), group_id=Optional(None), |
General Comments 0
You need to be logged in to leave comments.
Login now