search: don't error out on source:*pixiv* searches.
This commit is contained in:
@@ -121,10 +121,6 @@ module PostSets
|
|||||||
end
|
end
|
||||||
|
|
||||||
def posts
|
def posts
|
||||||
if tag_array.any? {|x| x =~ /^-?source:.*\*.*pixiv/} && !CurrentUser.user.is_builder?
|
|
||||||
raise SearchError.new("Your search took too long to execute and was canceled")
|
|
||||||
end
|
|
||||||
|
|
||||||
@posts ||= begin
|
@posts ||= begin
|
||||||
@post_count = get_post_count()
|
@post_count = get_post_count()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user