Changeset 974


Ignore:
Timestamp:
Oct 21, 2010, 4:51:13 PM (6 years ago)
Author:
j.a.m.wesbeek@…
Message:
  • removed the 'required' keyword from the Study's domainFields for the 'published' domainField as a 'required' arrow in the wizard did not make a lot of sense for a checkbox when that checkbox could be either 0 or 1
File:
1 edited

Legend:

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

    r967 r974  
    1616    }
    1717
    18         SecUser owner   // The owner of the study. A new study is automatically owned by its creator.
     18        SecUser owner           // The owner of the study. A new study is automatically owned by its creator.
    1919        String title        // The title of the study
    2020        String code             // currently used as the external study ID, e.g. to reference a study in a SAM module
     
    2222        Date lastUpdated
    2323        Date startDate
    24         List subjects
     24        List subjects
    2525        List events
    2626        List samplingEvents
     
    5454                // Workaround for bug http://jira.codehaus.org/browse/GRAILS-6754
    5555                templateTextFields type: 'text'
    56                 owner column:"studyowner"
    57                 title column:"studytitle"
    58                 code column:"studycode"
    59                 subjects column:"studysubjects"
    60                 events column:"studyevents"
    61                 samplingEvents column:"studysamplingevents"
    62                 eventGroups column:"studyeventgroups"
    63                 samples column:"studysamples"
    64                 assays column:"studyassays"
    65 
     56                owner column: "studyowner"
     57                title column: "studytitle"
     58                code column: "studycode"
     59                subjects column: "studysubjects"
     60                events column: "studyevents"
     61                samplingEvents column: "studysamplingevents"
     62                eventGroups column: "studyeventgroups"
     63                samples column: "studysamples"
     64                assays column: "studyassays"
    6665        }
    6766
     
    9695                        type: TemplateFieldType.BOOLEAN,
    9796                        comment: 'Determines whether this study is published (accessible for the study readers and, if the study is public, for anonymous users). A study can only be published if it meets certain quality criteria, which will be checked upon save.',
    98                         required: true)
     97                        required: false)
    9998        ]
    10099
Note: See TracChangeset for help on using the changeset viewer.