Changeset 216


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

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

File:
1 edited

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> 
Note: See TracChangeset for help on using the changeset viewer.