keith-b-git / ct

Club Triumph
GNU General Public License v3.0
1 stars 0 forks source link

[Forum] Top Ten view shows 8 results. #2

Closed meredevelopment closed 5 years ago

meredevelopment commented 5 years ago

Expected Behaviour

Viewing the 'Top Ten' to show 10 results.

Actual Behaviour

https://club.triumph.org.uk/menu/1/top_ten Currently shows 8.

keith-b-git commented 5 years ago

OK, the way this works was actually a bit of bodge because I couldn't find an easy way of doing it with a single database query. What it is actually doing is pulling the latest 50 threads from the DB and then searching them for the top ten unread ones. Hence if you've read more than 40 of them it won't find ten. I need to have a rethink on this!

meredevelopment commented 5 years ago

Sounds to me this is related to #11 and another issue related to ‘read status’ that I’m about to open. So putting this on hold for now as it might end up surplus to requirements.

meredevelopment commented 5 years ago

No longer relevant, as #15 replaces this functionality.