Changeset 1217


Ignore:
Timestamp:
Nov 30, 2010, 10:40:34 AM (7 years ago)
Author:
adem.bilican@…
Message:

error in the SimpleTox? exporter

Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy

    r1210 r1217  
    7878        def studies = []
    7979        for ( j in dbnp.studycapturing.Study.list() ){
    80             if (params.containsKey(j.title)){
     80            if (params.containsKey(j.code)){
    8181                studies.add(j)
    8282            }
  • trunk/grails-app/views/exporter/index.gsp

    r1112 r1217  
    4141              <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    4242
    43                   <td><input type="checkbox" name="${studyInstance.title}" id="checked_studies"></td>
     43                  <td><input type="checkbox" name="${studyInstance.code}" id="checked_studies"></td>
    4444
    4545                  <td><g:link controller="study" action="show" id="${studyInstance.id}">${fieldValue(bean: studyInstance, field: "code")}</g:link></td>
Note: See TracChangeset for help on using the changeset viewer.