Changeset 560
- Timestamp:
- Jun 14, 2010, 10:19:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/RestController.groovy
r554 r560 60 60 List subjects = [] 61 61 if( params.externalStudyID ) { 62 def id = Long.parseLong(params.externalStudyID)62 def id = params.externalStudyID 63 63 def study = Study.find( "from Study as s where s.code=?", [id]) 64 64 if(study) study.subjects.each { subjects.push it.name }
Note: See TracChangeset
for help on using the changeset viewer.