Skip to content
Snippets Groups Projects
Commit ff8e8b7f authored by Leonardo Menezes's avatar Leonardo Menezes
Browse files

fix index and repositories sorting in snapshot module

closes #236
parent 659e6ce0
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="col-sm-6"> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="form-label">repository</label> <label class="form-label">repository</label>
<select class="form-control" ng-model="form.repository" ng-options="r for r in repositories"> <select class="form-control" ng-model="form.repository" ng-options="r for r in repositories | orderBy:r">
<option value="">select repository</option> <option value="">select repository</option>
</select> </select>
</div> </div>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true"> show special indices <input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true"> show special indices
</label> </label>
</label> </label>
<select multiple="multiple" ng-model="form.indices" ng-options="i.name as i.name for i in indices | orderBy:name" <select multiple="multiple" ng-model="form.indices" ng-options="i.name as i.name for i in indices | orderBy:'name'"
class="form-control" size="13"> class="form-control" size="13">
</select> </select>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment