Navigation Menu

Skip to content

Commit

Permalink
Fix the same bug returning wrong count value.
Browse files Browse the repository at this point in the history
  • Loading branch information
daijiro committed Jun 12, 2013
1 parent 3d24efa commit f938dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/plugin/handler_search.rb
Expand Up @@ -229,7 +229,7 @@ def need_element_output?(element)

def format_count(formatted_result)
return unless need_element_output?("count")
formatted_result["count"] = @result.size
formatted_result["count"] = @count
end

def format_records(formatted_result)
Expand Down

0 comments on commit f938dea

Please sign in to comment.