freelancing-god-thinking-sphinx 1.1.11 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/thinking_sphinx.rb +1 -1
- data/lib/thinking_sphinx/index/builder.rb +1 -1
- metadata +1 -1
data/lib/thinking_sphinx.rb
CHANGED
@@ -252,7 +252,7 @@ module ThinkingSphinx
|
|
252
252
|
@attributes << Attribute.new(
|
253
253
|
resource.columns.collect { |col| col.clone },
|
254
254
|
options.merge(
|
255
|
-
:type => resource.is_a?(Field) ? :string :
|
255
|
+
:type => resource.is_a?(Field) ? :string : options[:type],
|
256
256
|
:as => resource.unique_name.to_s.concat(suffix).to_sym,
|
257
257
|
:crc => crc
|
258
258
|
).except(:facet)
|