Problems: sorting option

This commit is contained in:
Alexander Zobnin
2020-05-13 18:37:41 +03:00
parent 2588fd5c50
commit 413bf583d6
8 changed files with 36 additions and 21 deletions

View File

@@ -301,8 +301,8 @@
<label class="gf-form-label width-9">Sort by</label>
<div class="gf-form-select-wrapper width-12">
<select class="gf-form-input"
ng-model="ctrl.target.options.sortTriggersBy"
ng-options="f.text for f in ctrl.sortByFields track by f.value"
ng-model="ctrl.target.options.sortProblems"
ng-options="f.value as f.text for f in ctrl.sortByFields"
ng-change="ctrl.onQueryOptionChange()">
</select>
</div>