Skip to content

Commit

Permalink
Fixing the orderby for index names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Carter committed Sep 1, 2017
1 parent 255e552 commit 51369eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/create_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="col-xs-12">
<div class="form-group">
<label class="form-label">load settings from existing index</label>
<select ng-model="index" ng-options="i as i for i in indices | orderBy:'i'" class="form-control" ng-change="loadIndexMetadata(index)">
<select ng-model="index" ng-options="i as i for i in indices | orderBy:i" class="form-control" ng-change="loadIndexMetadata(index)">
</select>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions public/snapshot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h4>
<div class="form-inline form-group pull-right">
<div class="form-group">
<select class="form-control" ng-model="repository"
ng-options="r for r in repositories| orderBy:'r'">
ng-options="r for r in repositories| orderBy:r">
<option value="">select repository</option>
</select>
</div>
Expand Down Expand Up @@ -69,7 +69,7 @@ <h4>create new snapshot</h4>
<input type="checkbox" ng-model="showSpecialIndices" ng-true-value="true"> show special indices
</label>
</label>
<select multiple ng-model="form.indices" ng-options="index.name for index in indices | orderBy:'name'"
<select multiple ng-model="form.indices" ng-options="index.name for index in indices | orderBy:name"
class="form-control" size="13">
</select>
</div>
Expand Down

0 comments on commit 51369eb

Please sign in to comment.