bsed / ala

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

Faceting doesn't like ampersands with collectors #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Original Issue reported by Reported by john.t...@austmus.gov.au, Apr 3, 2012 - 
https://code.google.com/p/ala-portal/issues/detail?id=212

Reported by john.tann@austmus.gov.au, Apr 3, 2012 
Occurrence Records
Choosing a Collector with an ampersand (&) in it, returns a "No records found" 
result.

What steps will reproduce the problem?
1. Data sets / Occurrence records / 
http://biocache.ala.org.au/occurrences/search?taxa=
2. Search for something, eg frogs or birds
http://biocache.ala.org.au/occurrences/search?taxa=birds
3. Facet by Collector and choose a name with an ampersand, eg "Keith & Lindsay 
Fisher"
http://biocache.ala.org.au/occurrences/search?taxa=birds&fq=collector:"Keith & 
Lindsay Fisher"

What is the expected output? 
A results page with 38,000 records

What do you see instead?
"No records found for class: AVES : Birds"

What version of the product are you using? On what operating system?
April 2012

Please provide any additional information below
The search works as expected when faceting by Institution and choosing a name 
with an ampersand in it (eg "The Royal Botanic Gardens & Domain Trust")
 Apr 3, 2012 #1 john.tann@austmus.gov.au 
The link to "Keith & Lindsay Fisher" doesn't translate properly in the above 
issue.
This link will 
http://biocache.ala.org.au/occurrences/search?taxa=birds&fq=collector:%22Keith%2
0&%20Lindsay%20Fisher%22
 Jul 3, 2012 Project Member #2 moyesyside@gmail.com 
(No comment was entered for this change.)
 Status: Accepted Owner: nickdos@gmail.com Labels: -Priority-Medium Priority-High

Original issue reported on code.google.com by moyesyside on 8 Aug 2013 at 11:38

GoogleCodeExporter commented 9 years ago
Fixed.

e.g.

http://biocache.ala.org.au/occurrences/search?q=lsid%253Aurn%253Alsid%253Abiodiv
ersity.org.au%253Aafd.taxon%253A5ed80139-31bb-48a8-9f57-42d8015dacbb&fq=collecto
r:%22A.%20Kowanko%20%26%20J.%20Eckert%22#tab_recordsView

Original comment by moyesyside on 9 Aug 2013 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by moyesyside on 9 Aug 2013 at 5:22

GoogleCodeExporter commented 9 years ago
This appears to be working now. 
Thanks,

Original comment by johntan...@gmail.com on 12 Aug 2013 at 8:08