Revert "lmao nvm that was easy"

This reverts commit 4b3ef32fb3.
This commit is contained in:
swagg boi 2023-11-07 23:41:38 -05:00
parent 77476a2b11
commit 8d78ce9307
2 changed files with 5 additions and 1 deletions

View file

@ -61,6 +61,7 @@ tests locally:
## TODOs ## TODOs
1. Winter/Christmas/New Years background
1. "All new posts flagged" mode (require approval for new posts) 1. "All new posts flagged" mode (require approval for new posts)
1. Tests for mod-only user? 1. Tests for mod-only user?
@ -68,6 +69,9 @@ tests locally:
### (Lord knows there's TODOs I could be working on...) ### (Lord knows there's TODOs I could be working on...)
1. Is `remark_tally` counting hidden remarks? Tried to add a `WHERE
NOT hidden_status` but that returns null, probably need a different
`JOIN` which may not be worth the trouble/processing
1. Implement tripcodes (moving this down in priority due to complexity...) 1. Implement tripcodes (moving this down in priority due to complexity...)
1. Post thread via SMS (twil.io??) 1. Post thread via SMS (twil.io??)

View file

@ -43,7 +43,7 @@ sub by_page($self, $this_page = 1) {
FROM threads AS t FROM threads AS t
LEFT JOIN remarks AS r LEFT JOIN remarks AS r
ON t.thread_id = r.thread_id ON t.thread_id = r.thread_id
WHERE NOT (t.hidden_status OR r.hidden_status) WHERE NOT t.hidden_status
GROUP BY t.thread_id GROUP BY t.thread_id
ORDER BY t.bump_date DESC ORDER BY t.bump_date DESC
LIMIT ? OFFSET ?; LIMIT ? OFFSET ?;