I'm having a problem with this code when the facet has non-ascii
international characters:
@facets = ThinkingSphinx.facets params[:q], :all_facets => true, :page
=> params[:page]
if params[:tag]
  @search_results = @facets.for(:tag=>params[:tag])
end

It works with params[:tag] being "Tollabandalag" but not if the tag is
"Félagaréttur" that uses the "é" character.

I also tried:
@search_results = @facets.for(:tag_facet=>params[:tag].to_crc32)

The correct text is displayed in my tag selection but it won't drill
down.  Any ideas?

Best regards,
Robert

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to