Changeset 1857

Show
Ignore:
Timestamp:
23-05-11 11:23:02 (3 years ago)
Author:
work@…
Message:

- resolves #423

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1836 r1857  
    216216        def ArrayList<Subject> giveSamplesForTemplate(Template template) { 
    217217                samples.findAll { it.template.equals(template) }.sort { 
    218                         it.parentSubject.name 
     218                        [it.parentEvent?.template, it.parentEvent?.startTime, it.parentSubject?.name] 
    219219                } 
    220220        }