diff --git a/lib/search/search_result.rb b/lib/search/search_result.rb index 14318052461..7347ba7dad2 100644 --- a/lib/search/search_result.rb +++ b/lib/search/search_result.rb @@ -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