posts: remove tag limit from searches.

This commit is contained in:
evazion
2022-03-31 22:58:45 -05:00
parent f2cdc5fd73
commit 2543a2b05b

View File

@@ -450,6 +450,7 @@ class User < ApplicationRecord
end
def tag_query_limit(level)
return Float::INFINITY
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
Float::INFINITY
elsif level >= User::Levels::BUILDER