Add error pages for tag limit and pagination errors.
This commit is contained in:
@@ -122,7 +122,7 @@ class PostQueryBuilder
|
||||
relation = read_only ? PostReadOnly.all : Post.all
|
||||
|
||||
if q[:tag_count].to_i > Danbooru.config.tag_query_limit
|
||||
raise ::Post::SearchError.new("You cannot search for more than #{Danbooru.config.tag_query_limit} tags at a time")
|
||||
raise ::Post::SearchError
|
||||
end
|
||||
|
||||
if CurrentUser.safe_mode?
|
||||
|
||||
Reference in New Issue
Block a user