Changeset - 477fe54b8af8
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2012-03-01 00:15:14
marcin@python-works.com
fixed sorting of repos in group
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/db.py
Show inline comments
 
@@ -807,7 +807,9 @@ class RepoGroup(Base, BaseModel):
 

	
 
    @property
 
    def repositories(self):
 
        return Repository.query().filter(Repository.group == self)
 
        return Repository.query()\
 
                .filter(Repository.group == self)\
 
                .order_by(Repository.repo_name)
 

	
 
    @property
 
    def repositories_recursive_count(self):
0 comments (0 inline, 0 general)