Hi Alexander

I just responded to your StackOverflow question - here's a class I use to 
translate foreign key facets to corresponding model instances: 
https://gist.github.com/pat/5477820

Cheers

-- 
Pat

On 25/04/2013, at 11:10 AM, Alexander Shlinchack wrote:

>  Can I add own title for every facet? For instance, if I create facet like 
> this: 
> 
> > has specification_values.id, :as => :specifications, :facet => true
> 
> Title will be "specification". But I neded "My nice specification".
> Same question for link:
> 
> > <%= link_to "#{option} (#{count})",    :params => {facet => option} %>
> 
> and this generate link like this:
> > < a href="specification=0"> 0 (53) </a>
> 
> How replace "0" in link text on SpecificationValue.name?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


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


Reply via email to