Hi!
I've migrated to TS 3.1.4 and have problem with facets sorting.
I am using this:
@facets = Product.is_product_visible.is_created.facets @keyword_string,
:order => (order), :with => ts_filters
@facets[:industry_id] = Hash[@facets[:industry_id].sort]
@facets[:country_id]= Hash[@facets[:country_id].sort]
Error is:
undefined method `[]=' for #<ThinkingSphinx::FacetSearch:0x0000000d879ee0>
How can i properly sort facets?
Thanks.
Best regards, Miha
--
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 https://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.