#1849: remove date constraint for safebooru
This commit is contained in:
@@ -114,7 +114,7 @@ class PostQueryBuilder
|
|||||||
|
|
||||||
if CurrentUser.safe_mode?
|
if CurrentUser.safe_mode?
|
||||||
relation = relation.where(:rating => "s")
|
relation = relation.where(:rating => "s")
|
||||||
relation = relation.where("created_at <= ?", 3.months.ago)
|
# relation = relation.where("created_at <= ?", 3.months.ago)
|
||||||
end
|
end
|
||||||
|
|
||||||
relation = add_range_relation(q[:post_id], "posts.id", relation)
|
relation = add_range_relation(q[:post_id], "posts.id", relation)
|
||||||
|
|||||||
Reference in New Issue
Block a user