##// END OF EJS Templates
fixed sorting in repo switcher
marcink -
r256:c4901082 default
parent child Browse files
Show More
@@ -93,8 +93,8 b' def is_current(selected):'
93 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
93 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
94 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
94 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
95 <select id="repos_list" size="=10">
95 <select id="repos_list" size="=10">
96 %for repo in c.cached_repo_list.values():
96 %for repo in sorted(x.name.lower() for x in c.cached_repo_list.values()):
97 <option value="${repo.name}">${repo.name}</option>
97 <option value="${repo}">${repo}</option>
98 %endfor
98 %endfor
99 </select>
99 </select>
100 </div>
100 </div>
General Comments 0
You need to be logged in to leave comments. Login now