Ignore:
Timestamp:
Jun 14, 2010, 10:19:29 AM (8 years ago)
Author:
jahn
Message:

Fixed bug in with new identifier of domain class Study.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/RestController.groovy

    r554 r560  
    6060                List subjects = []
    6161                if( params.externalStudyID ) {
    62                         def id = Long.parseLong(params.externalStudyID)
     62                        def id = params.externalStudyID
    6363                        def study = Study.find( "from Study as s where s.code=?", [id])
    6464                        if(study) study.subjects.each { subjects.push it.name }
Note: See TracChangeset for help on using the changeset viewer.