The "topics per period in top page" setting doesn't work as expected

my current setting is

  • “topics per period in top page” set to 10
  • “top page default timeframe”: daily

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…

1개의 좋아요

there is also this setting: topics per period in top summary

thanks, @Lilly
I have that one set to 10 as well :slight_smile:
see the same behavior …

actually, not sure what this “topics per period in top summary” is for,

hmm playing with those settings on my forum and something does seem a bit off. i do think those settings need to be more clearly defined. :thinking:

1개의 좋아요

thanks confirming @Lilly

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

hope dev team could address this soon ! thanks !

wonder where I could log an issue for this?
is there someone from dev team checking this forum ?
should move this post to bug category ?

thanks…

Welcome, @fbpbdmin :wave:

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.

Yes, we do :technologist:

1개의 좋아요

@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 …

thanks again.

1개의 좋아요

이것이 버그라고 단정하기는 어렵지만, 표시되는 게시글 수가 설정 값과 외부 요소(페이지 높이) 모두에 따라 달라지기 때문에 혼란을 줄 수 있습니다.

또한 상위 페이지의 기간별 주제 수 설정의 사용 사례가 무엇인지도 명확하지 않습니다. /top 뷰는 다른 주제 목록과 마찬가지로 볼 수 있기 때문에, 이 설정이 관련이 있을 수 있는 제가 모르는 특별한 사항이 없는 한 그 용도가 불분명합니다. :person_shrugging:

일단 Contribute > Feature 로 이동해 두겠습니다.

1개의 좋아요