mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Use infinity instead of 3000-01-01 as max date.
This fixes the y3k problem in Discourse that made topics with pins appear after threads updated in year 3000.
This commit is contained in:
parent
85570ddc77
commit
2c3bdf48d1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module TopicQuerySQL
|
|||
end
|
||||
|
||||
def highest_date
|
||||
"3000-01-01"
|
||||
"infinity"
|
||||
end
|
||||
|
||||
def order_by_category_sql(dir)
|
||||
|
|
Loading…
Reference in a new issue