Changeset 1676


Ignore:
Timestamp:
Mar 28, 2011, 11:30:01 AM (13 years ago)
Author:
t.w.abma@…
Message:
  • first page in importer wizard, study shows [no code] when study contains null as code and studies are now sorted by code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1658 r1676  
    108108
    109109                                flow.page = 1
    110                                 flow.studies = Study.findAllWhere(owner: authenticationService.getLoggedInUser())
     110                                flow.studies = Study.findAllByOwner(authenticationService.getLoggedInUser(), [sort:"code", order:"asc"]).each {
     111                    it.code = (it.code == null) ? "[no code]" : it.code
     112                }
    111113                                flow.importer_fuzzymatching = "false"
    112114
Note: See TracChangeset for help on using the changeset viewer.