now,
when open the top topic tab, it shows daily top 10, nicely.
but when switch to another timeframe, say week,month.
it will list more than 10 posts there…
wonder if this is a bug, or expected
thanks…
found a related post: it explained a related but not the same issue I run into…
my understanding, if set “topics per period in top page” to 10
no matter which timeframe to pick, the list should always show top 10… ?
and this is very useful/helpful for many forums as an incentive for contributors
Discourse will load the next pages results one by one until it fills the page height.
Here’s an example with only 1 topic per page (topics per period in top page set to 1):
So even if you set 10, someone with a gigantic monitor in portrait mode will likely see more than 10 topics, as it will load subsequent pages.
This is a thing from the interface due to the infinite loading feature.
If you return the JSON URL, it will return the proper number of results per page.
@Canapin
thanks for your reply, yes, that explains.
while, since, the setting is for “topics per period in top page”, and it is a nice to have a top 10 (or N) only (daily/weekly/monthly…)… otherwise …
hope this could considered as a bug or feature enhancement …
I’m not sure I’d classify this as a bug, but it certainly can be confusing as the number of shown posts depends on both the setting value and an external factor (the page height).
I’m also not sure what would be a use case of the topics per period in top page setting, as the /top view could be considered a topic list like any other unless there are things I’m unaware of that make this setting relevant.