Navigation Menu

Skip to content

Commit

Permalink
Rename maxNumSubRecords to maxNSubRecords.
Browse files Browse the repository at this point in the history
  • Loading branch information
daijiro committed Jun 24, 2013
1 parent c4b7618 commit 5b14dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/plugin/handler_search.rb
Expand Up @@ -209,7 +209,7 @@ def search_query(results)
@result = @result.group(@query["groupBy"])
elsif @query["groupBy"].is_a? Hash
key = @query["groupBy"]["key"]
max_n_sub_records = @query["groupBy"]["maxNumSubRecords"]
max_n_sub_records = @query["groupBy"]["maxNSubRecords"]
@result = @result.group(key, :max_n_sub_records => max_n_sub_records)
else
raise '"groupBy" parameter must be a Hash or a String'
Expand Down

0 comments on commit 5b14dcf

Please sign in to comment.