Changeset 431


Ignore:
Timestamp:
May 18, 2010, 11:39:32 AM (7 years ago)
Author:
duh
Message:
  • term editor has been using 'ontologies' instead of 'ontology' as a GET parameter for a while now...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/TermEditorController.groovy

    r376 r431  
    2121    def index = {
    2222                // got a ontology get parameter?
    23                 def ontology = (params.ontology) ? params.ontology : null
     23                def ontologies = (params.ontologies) ? params.ontologies : null
    2424
    2525                // enter the flow!
    26         redirect(action: 'pages', params:["ontology":ontology])
     26        redirect(action: 'pages', params:["ontologies":ontologies])
    2727    }
    2828
     
    3535                        println "start term / ontology editor flow"
    3636
    37                         if (params.ontology) {
     37                        if (params.ontologies) {
    3838                                flow.ontologies = []
    39                                 params.ontology.split(/\,/).each() { ncboId ->
     39                                params.ontologies.split(/\,/).each() { ncboId ->
    4040                                        // trim the id
    4141                                        ncboId.trim()
Note: See TracChangeset for help on using the changeset viewer.