Show More
@@ -28,6 +28,8 b' import traceback' | |||||
28 | import logging |
|
28 | import logging | |
29 | import cStringIO |
|
29 | import cStringIO | |
30 |
|
30 | |||
|
31 | from sqlalchemy import func | |||
|
32 | ||||
31 | from rhodecode.lib.vcs import get_backend |
|
33 | from rhodecode.lib.vcs import get_backend | |
32 | from rhodecode.lib.vcs.exceptions import RepositoryError |
|
34 | from rhodecode.lib.vcs.exceptions import RepositoryError | |
33 | from rhodecode.lib.vcs.utils.lazy import LazyProperty |
|
35 | from rhodecode.lib.vcs.utils.lazy import LazyProperty | |
@@ -223,7 +225,7 b' class ScmModel(BaseModel):' | |||||
223 | if all_repos is None: |
|
225 | if all_repos is None: | |
224 | all_repos = self.sa.query(Repository)\ |
|
226 | all_repos = self.sa.query(Repository)\ | |
225 | .filter(Repository.group_id == None)\ |
|
227 | .filter(Repository.group_id == None)\ | |
226 | .order_by(Repository.repo_name).all() |
|
228 | .order_by(func.lower(Repository.repo_name)).all() | |
227 |
|
229 | |||
228 | repo_iter = CachedRepoList(all_repos, repos_path=self.repos_path, |
|
230 | repo_iter = CachedRepoList(all_repos, repos_path=self.repos_path, | |
229 | order_by=sort_key) |
|
231 | order_by=sort_key) |
General Comments 0
You need to be logged in to leave comments.
Login now