posts: remove tag limit from searches.
This commit is contained in:
@@ -450,6 +450,7 @@ class User < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def tag_query_limit(level)
|
def tag_query_limit(level)
|
||||||
|
return Float::INFINITY
|
||||||
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
|
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
|
||||||
Float::INFINITY
|
Float::INFINITY
|
||||||
elsif level >= User::Levels::BUILDER
|
elsif level >= User::Levels::BUILDER
|
||||||
|
|||||||
Reference in New Issue
Block a user