Should be using bump_date
for sorting
This commit is contained in:
parent
1e0d36a81b
commit
aad8d8f1e0
|
@ -37,7 +37,7 @@ sub get_all_threads($self) {
|
||||||
thread_body AS body
|
thread_body AS body
|
||||||
FROM threads
|
FROM threads
|
||||||
WHERE NOT hidden_status
|
WHERE NOT hidden_status
|
||||||
ORDER BY thread_date DESC;
|
ORDER BY bump_date DESC;
|
||||||
END_SQL
|
END_SQL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ sub get_threads_by_page($self, $this_page = 1) {
|
||||||
thread_body AS body
|
thread_body AS body
|
||||||
FROM threads
|
FROM threads
|
||||||
WHERE NOT hidden_status
|
WHERE NOT hidden_status
|
||||||
ORDER BY thread_date DESC
|
ORDER BY bump_date DESC
|
||||||
LIMIT ? OFFSET ?;
|
LIMIT ? OFFSET ?;
|
||||||
END_SQL
|
END_SQL
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user