Changeset 216

Show
Ignore:
Timestamp:
05-05-11 13:33:49 (3 years ago)
Author:
taco@…
Message:

Fixed measurement type (sub assay) ordering in the dropdown menu.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/pages/_selectTypesForSampleLayout.gsp

    r184 r216  
    6161          <select name="types.${row}" rel="addmore" entity="types.${row}"> 
    6262            <option selected="selected" value=""></option> 
    63           <g:each var="type" in="${measurementTypes}"> 
     63          <% def sortedlist = measurementTypes.sort( { dinges -> dinges.toString().toLowerCase()  } ) %> 
     64          <g:each var="type" in="${sortedlist}"> 
    6465            <option value="${type}">${type}</option> 
    6566          </g:each>