Issue 11719

Species and Dataset search fails with no q=

11719
Reporter: trobertson
Assignee: fmendez
Type: Bug
Summary: Species and Dataset search fails with no q=
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-08-22 20:39:04.971
Updated: 2013-08-29 14:44:28.868
Resolved: 2012-08-27 11:34:30.64
        
Description: The default species search returns nothing when the form is empty:
http://jawa.gbif.org:8080/portal-web/species/search?q=&checklist=nub

It should return all.
Similarily links from the portal make use of facet filters, but contain no q search param:
http://jawa.gbif.org:8080/portal-web/species/search?rank=26&highertaxon=2684876

--- issue around dataset search fixed, but worth checking again when fixing the species search. Its a shared based class ---

There are links from around the portal such as:
http://jawa.gbif.org:8080/portal-web/dataset/search?owning_org=7879e569-4a13-4643-b833-d1a564675b86

which fail, but if you append q= it works.
http://jawa.gbif.org:8080/portal-web/dataset/search?owning_org=7879e569-4a13-4643-b833-d1a564675b86&q=

best fix is to default that behavour so the first URL works

]]>
    


Author: trobertson@gbif.org
Comment: Fixed with http://code.google.com/p/gbif-portal/source/detail?r=902
Created: 2012-08-23 14:10:13.712
Updated: 2012-08-23 14:10:13.712


Author: mdoering@gbif.org
Comment: Reopening cause we have similar issues with species search
Created: 2012-08-24 13:12:40.575
Updated: 2012-08-24 13:12:40.575


Author: fmendez@gbif.org
Comment: empty query is replaced by "*:*"
Created: 2012-08-27 11:34:30.673
Updated: 2012-08-27 11:34:30.673