Skip to content

Commit

Permalink
Filter and order code lists on QuestionGrid form #326
Browse files Browse the repository at this point in the history
  • Loading branch information
simonreed committed Jun 16, 2020
1 parent 2b9e205 commit 6f571a9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -52,7 +52,7 @@
id="a-question-haxis"
data-ng-model="current.horizontal_code_list_id"
data-ng-disabled="!editMode"
data-ng-options="cl.id as cl.label for cl in instrument.CodeLists"
data-ng-options="cl.id as cl.label for cl in instrument.CodeLists | filter:rd=false | orderBy: 'label'"
data-ng-change="select_x_axis()"
/>
</div>
Expand All @@ -65,7 +65,7 @@
id="a-question-vaxis"
data-ng-model="current.vertical_code_list_id"
data-ng-disabled="!editMode"
data-ng-options="cl.id as cl.label for cl in instrument.CodeLists"
data-ng-options="cl.id as cl.label for cl in instrument.CodeLists | filter:rd=false | orderBy: 'label'"
/>
</div>
<div class="form-group" data-ng-if="current.horizontal_code_list_id && current.vertical_code_list_id">
Expand Down

0 comments on commit 6f571a9

Please sign in to comment.