Navigation Menu

Skip to content

Commit

Permalink
groonga: Convert select results correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2014
1 parent d3fb84f commit c29792f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/droonga/plugins/groonga/select.rb
Expand Up @@ -152,12 +152,8 @@ def convert(search_response)
end
end

select_results = [@header, [@body]]
@drilldown_results.each do |result|
select_results.last << result
end

select_results
select_results = [@body] + @drilldown_results
[@header, select_results]
end

private
Expand Down

0 comments on commit c29792f

Please sign in to comment.