Design issue Cleaning up watched threads, pagination goes wrong

duderuud

Well-known member
Affected version
2.0.7
I had a vast list of watched threads. After cleaning up some, the pagination is broken.
It shows 5 pages right now but the last page gives me a "There are no threads to display" because there are only 4 pages.

Update: Cleaned up more, only 4 pages left. Pagination then is fine...weird.
Update: Had 4 pages, on page 4 there was one watched thread. Stopped watching that one and after reload still 4 pages (and page 4 gives the same error).
 
This can happen, unfortunately.

Querying for threads across multiple forums that have different permissions and other conditions isn't totally feasible through a simple database query. So once we have a list of threads, we then have to loop through them and remove any threads you can't see.

That can lead to a mismatch between the total number of visible threads and the total number of threads, which is how we calculate how many pages to show you.

There might be workarounds but this is currently just a negligible, known design issue that's probably not worth addressing.
 

Similar threads

Back
Top Bottom