Navigation Menu

Skip to content

Commit

Permalink
Fix comment location
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 8, 2014
1 parent 8e63f9c commit 8ca36d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/plugins/search.rb
Expand Up @@ -61,13 +61,13 @@ def collect(message)
def collect_elements(message, elements)
return unless elements.is_a?(Hash)

# because "count" mapper requires all records,
# I have to apply it at first, before "limit" and "offset" are applied.
body = message.body
value = message.value

return if value.nil?

# because "count" mapper requires all records,
# I have to apply it at first, before "limit" and "offset" are applied.
count_mapper = elements["count"]
if count_mapper
if count_mapper["no_output"]
Expand Down

0 comments on commit 8ca36d4

Please sign in to comment.