Ignore:
Timestamp:
Nov 26, 2010, 12:33:32 PM (10 years ago)
Author:
robert@…
Message:

Removed sorting of subjects in study page and added units to the template fields that need them (ticket #66 and #67)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/show.gsp

    r1203 r1206  
    403403
    404404              <g:each in="${studyList}" var="studyInstance">
    405                 <%
    406                   // Sort subjects by name
    407                   subjects = studyInstance.subjects;
    408                   sortedSubjects = subjects.sort( { a, b -> a.name <=> b.name } as Comparator )
    409                 %>
    410 
    411                 <g:each in="${sortedSubjects}" var="subject" status="j">
     405                <g:each in="${studyInstance.subjects}" var="subject" status="j">
    412406                  <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    413407                    <g:if test="${multipleStudies && j==0}">
Note: See TracChangeset for help on using the changeset viewer.