bsed / ala

Automatically exported from code.google.com/p/ala
0 stars 0 forks source link

Faceting a second time can fail when you CHOOSE MORE... #573

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a BioCache problem with a second facet. If you choose a facet from the 
drop down list (CHOOSE MORE...), when a facet is already chosen you can get two 
different results, one of which is wrong.

Step 1. 
Search for something eg penguins
http://biocache.ala.org.au/occurrences/search?taxa=penguins#tab_recordsView

Step 2.
Facet on an area, eg New South Wales
http://biocache.ala.org.au/occurrences/search?q=penguins&fq=state:%22New%20South
%20Wales%22#tab_recordsView

Step 3. This works
Facet on a species | CHOOSE MORE
Eudyptes pachyrhynchus 12 (Tick the box)  *** ticking the box makes it work 
INCLUDE selected items in search
http://biocache.ala.org.au/occurrences/search?q=penguins&fq=state%3A%22New+South
+Wales%22&fq=species:%22Eudyptes%20pachyrhynchus%22#tab_recordsView
(12 ersults)

Step 3 in a different way. This doesn't work
Facet on a species | CHOOSE MORE
Eudyptes pachyrhynchus 12 (DON'T tick the box)  *** this will fail
http://biocache.ala.org.au/occurrences/search?q=penguins&fq=state%253A%2522New+S
outh+Wales%2522&fq=species:%22Eudyptes%20pachyrhynchus%22#tab_recordsView
(296 results)
*** note that the filter for New South Wales has disappeared

Original issue reported on code.google.com by john.t...@austmus.gov.au on 10 Feb 2014 at 11:08

GoogleCodeExporter commented 9 years ago
assigned to Nick

Original comment by moyesyside on 11 Feb 2014 at 1:23