Topic sidebar referenced topics count and list off by one


(Dean Taylor) #1

You can see in the GIF below that the list clearly indicates “2 more...” whilst only one displays.

Realistically this one additional item could just be displayed without the need for the “2 more...” link

This happens on multiple topics.

An example of which - purposely not linked is this one:
https://meta.discourse.org/t/welcome-to-meta-discourse-org/1


(Jeff Atwood) #2

Heh maybe an off by one error @eviltrout?


(Andre Pereira) #3

I don’t think it’s just by one. If you go to this page

https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins/30515

it shows 14 more... but only loads 12 more once the link is clicked.

I’m trying to figure out what’s causing the bug and fix it.


(Andre Pereira) #4

I’ve submitted a Pull Request to fix this bug. :wink: