Show More
@@ -2507,7 +2507,9 b' class RepoGroup(Base, BaseModel):' | |||
|
2507 | 2507 | |
|
2508 | 2508 | return cls.query()\ |
|
2509 | 2509 | .filter(cls.personal == true()) \ |
|
2510 |
.filter(cls.user == user) |
|
|
2510 | .filter(cls.user == user) \ | |
|
2511 | .order_by(cls.group_id.asc()) \ | |
|
2512 | .first() | |
|
2511 | 2513 | |
|
2512 | 2514 | @classmethod |
|
2513 | 2515 | 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