##// END OF EJS Templates
bugfix, when user had no repos he would see all repos in my account
marcink -
r765:d92fc9b5 beta
parent child Browse files
Show More
@@ -248,6 +248,7 class SettingsController(BaseController)
248 .filter(Repository.user_id == c.user.user_id)\
248 .filter(Repository.user_id == c.user.user_id)\
249 .order_by(func.lower(Repository.repo_name))\
249 .order_by(func.lower(Repository.repo_name))\
250 .all()
250 .all()
251
251 c.user_repos = ScmModel().get_repos(all_repos)
252 c.user_repos = ScmModel().get_repos(all_repos)
252
253
253 if c.user.username == 'default':
254 if c.user.username == 'default':
General Comments 0
You need to be logged in to leave comments. Login now