lib/thinking_sphinx/property.rb in hariton-thinking-sphinx-1.2.7.1 vs lib/thinking_sphinx/property.rb in hariton-thinking-sphinx-1.2.11
- old
+ new
@@ -12,9 +12,11 @@
@alias = options[:as]
@faceted = options[:facet]
@admin = options[:admin]
+ @alias = @alias.to_sym unless @alias.blank?
+
@columns.each { |col|
@associations[col] = association_stack(col.__stack.clone).each { |assoc|
assoc.join_to(source.base)
}
}
\ No newline at end of file