Ignore:
Timestamp:
May 2, 2011, 11:55:13 AM (6 years ago)
Author:
robert@…
Message:

After searching, several actions can be performed on search results. These actions are called by sending data to a URL. This was done using the HTTP GET method, but that resulted in error with the length of the query string (see #422). This is solved by sending all data using the HTTP POST method.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1010.settings
        1111*.log
         12dtd
  • trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy

    r1794 r1798  
    5151    def export = {
    5252                def ids = params.list( 'ids' );
     53                def tokens = params.list( 'tokens' );
    5354        def studies = []
    5455               
     
    5960                                        studies << study
    6061                        }
     62                }
     63               
     64                // Also accept tokens for defining studies
     65                tokens.each {
     66                        def study = Study.findByStudyUUID( it );
     67                        if( study )
     68                                studies << study;
    6169                }
    6270       
Note: See TracChangeset for help on using the changeset viewer.