FIX: Don't cast ids to ints, as user results have string ids.
This commit is contained in:
parent
e7c739f337
commit
b3678125dc
|
@ -12,7 +12,7 @@ class Search
|
|||
def initialize(row)
|
||||
row.symbolize_keys!
|
||||
@type = row[:type].to_sym
|
||||
@url, @id, @title = row[:url], row[:id].to_i, row[:title]
|
||||
@url, @id, @title = row[:url], row[:id], row[:title]
|
||||
end
|
||||
|
||||
def as_json
|
||||
|
|
Loading…
Reference in New Issue