Changeset 2011 for trunk


Ignore:
Timestamp:
Sep 8, 2011, 5:20:27 PM (8 years ago)
Author:
robert@…
Message:

Removed duplicate fields from the visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy

    r2010 r2011  
    8686            fields += getFields(study, "assays", "templatefields")
    8787            fields += getFields(study, "samples", "domainfields")
    88             fields += getFields(study, "samples", "domainfields")
     88            fields += getFields(study, "samples", "templatefields")
    8989
    9090            /*
     
    640640                  case "Event":
    641641                  case "events":
    642                            return study?.samples?.parentEventGroup?.events
     642                           return study?.samples?.parentEventGroup?.events?.flatten()
    643643                  case "SamplingEvent":
    644644                  case "samplingEvents":
    645                           return study?.samples?.parentEventGroup?.samplingEvents
     645                          return study?.samples?.parentEvent
    646646                  case "Assay":
    647647                  case "assays":
Note: See TracChangeset for help on using the changeset viewer.