forum thread listing: fix sql query
forum thread listing: fix sql query: a task in smol-software-harbor (Harbor dataset). The forum index in queries/thread list.sql shows the post with the highest id as each thread's latest post, but imported posts have ids out of time order. The latest post is the one with the latest posted at (the…
The task
The forum index in `queries/thread_list.sql` shows the post with the highest id as each thread's latest post, but imported posts have ids out of time order. The latest post is the one with the latest `posted_at` (the highest id breaks ties). Fix the query and run `bash tests/run.sh`.
Part of efederici/smol-software-harbor.