Issue 11716

Create simple search parameters on occurrence search action

11716
Reporter: mdoering
Assignee: omeyn
Type: Improvement
Summary: Create simple search parameters on occurrence search action
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-08-22 18:28:19.754
Updated: 2013-08-29 14:45:56.464
Resolved: 2012-10-11 12:59:23.717
        
Description: Just some setters on the search action that convert the simple parameters into the cryptic ones. Already used when linking:

nubKey
datasetKey

Additionally country would be great too]]>
    


Author: trobertson@gbif.org
Created: 2012-08-23 16:01:29.142
Updated: 2012-08-23 16:01:29.142
        
Started with a fix in
  http://code.google.com/p/gbif-portal/source/detail?r=905

    


Author: trobertson@gbif.org
Comment: To be considered in the new URL structures
Created: 2012-08-29 09:54:12.293
Updated: 2012-08-29 09:54:12.293


Author: mdoering@gbif.org
Comment: now that the search webservices take filter parameters with names corresponding to the search enum name we should implement the exact same on the search actions
Created: 2012-10-10 14:45:41.367
Updated: 2012-10-10 14:45:41.367


Author: mdoering@gbif.org
Created: 2012-10-11 12:59:23.751
Updated: 2012-10-11 12:59:23.751
        
The base search action already takes all parameters and adds those which correspond to the search enum into the search request filter. So this can be considered done!

see readFilterParams() method in http://code.google.com/p/gbif-portal/source/browse/portal-web/trunk/src/main/java/org/gbif/portal/action/BaseSearchAction.java