Changeset 900 for trunk/grails-app/domain
- Timestamp:
- Sep 26, 2010, 12:39:18 AM (10 years ago)
- Location:
- trunk/grails-app/domain/dbnp/studycapturing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Event.groovy
r874 r900 40 40 return (!error) 41 41 }) 42 }43 44 static mapping = {45 46 // Specify that subclasses for Event should have their own database table.47 // This is done because otherwise we run into troubles with the SamplingEvent references from Study.48 tablePerHierarchy false49 42 } 50 43 -
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r874 r900 13 13 class Study extends TemplateEntity { 14 14 static searchable = { 15 [only: ['title', 'Description']] 15 [only: ['title', 'Description']] // the description field will be searched only if defined in a study template 16 16 } 17 17 … … 48 48 49 49 static mapping = { 50 researchQuestion type: 'text'51 description type: 'text'52 50 autoTimestamp true 51 52 // Workaround for bug http://jira.codehaus.org/browse/GRAILS-6754 53 templateTextFields type: 'text' 54 53 55 } 54 56
Note: See TracChangeset
for help on using the changeset viewer.