forked from e621ng/e621ng
fix for count in post listing
This commit is contained in:
parent
f16a70ab7e
commit
d41a4a4935
@ -86,6 +86,8 @@ module Danbooru
|
|||||||
when :count
|
when :count
|
||||||
if @paginator_options.has_key?(:search_count) && @paginator_options[:search_count].blank?
|
if @paginator_options.has_key?(:search_count) && @paginator_options[:search_count].blank?
|
||||||
1_000_000
|
1_000_000
|
||||||
|
elsif @paginator_options[:count]
|
||||||
|
@paginator_options[:count]
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user