Skip to content

Commit

Permalink
patient/info.html: sort configs by name
Browse files Browse the repository at this point in the history
  • Loading branch information
magiraud authored and Vidjil Team committed Jan 15, 2015
1 parent f988a47 commit ca0107c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/web2py/applications/vidjil/views/patient/info.html
Expand Up @@ -20,7 +20,7 @@ <h3>{{=vidjil_utils.anon(request.vars['id'], auth.user.id)}}</h3>
<span>
<select id="choose_config" name="config" onchange="db.call('patient/info', {'id' :'{{=request.vars['id']}}', 'config_id' : this.value})">
<option value="-1" {{if not config :}}selected{{pass}}> --- </option>
{{for row in db(db.config).select() :}}
{{for row in db(db.config).select(orderby=~db.config.name) :}}
<option value="{{=row.id }}" {{if row.id==config_id:}}selected{{pass}} >
{{=row.name}}
</option>
Expand Down

0 comments on commit ca0107c

Please sign in to comment.