Issue 12616

occurrence search: can't remove filters once they have been created

12616
Reporter: kbraak
Assignee: fmendez
Type: Bug
Summary: occurrence search: can't remove filters once they have been created
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-01-22 15:42:03.643
Updated: 2013-08-29 14:44:23.737
Resolved: 2013-01-24 11:42:45.318
        
        
Description: Problem:

When getting rid of a filter, pressing the X button has no effect. Ideally, removing the filter from view should remove the filter from being applied. This is not happening.

To replicate:

-Have a page of occurrence records
-Filter by scientific name, e.g. Panthera onca (Linnaeus, 1758)
-Filter by country, e.g. Colombia
-Get rid of country filter by pressing X button on country filter section (visible on screenshot)
-Press Apply button
-Notice both filters (scientific name and country) have been applied (visible on screenshot). This is also evident in the resulting URL: http://staging.gbif.org:8080/portal-web-dynamic/occurrence/search?TAXON_KEY=5219426&COUNTRY=CO]]>
    

Attachment Screen Shot 2013-01-22 at 3.37.30 PM.png


Attachment Screen Shot 2013-01-22 at 3.37.43 PM.png



Author: fmendez@gbif.org
Created: 2013-01-24 11:42:45.352
Updated: 2013-01-24 11:42:45.352
        
When a widget is being closed all the filter that haven't been submitted are removed
http://code.google.com/p/gbif-portal/source/detail?r=1319