Setting is non-responsive; I want to show top topics from all time by default. Top page only shows top topics over the last year, no matter what timeframe I choose.
Private forum - v2.2.0.beta5 +48
In a private Discourse forum (v2.2.0.beta5), DSF reports that the ātop page default timeframeā setting is non-responsive ā despite selecting āAll Timeā in admin settings, the top page defaults to āYearly.ā codinghorror asks where the timeframe is being set, while cpradio suggests the system may auto-fallback if insufficient data exists for the chosen period. DSF confirms the setting is under Admin > Settings > ātop page default timeframe.ā codinghorror questions if enough data exists, and cpradio notes they cannot reproduce the issue on their open sandbox, showing all timeframes work as expected with screenshots. DSF observes that changing ātopics per periodā to 5 removes āAll Timeā from the dropdown, and even at 1 topic, the system defaults to āWeek.ā After resetting to 50, āAll Timeā reappears after refreshes DSF. DSF asks if the sandbox is private (itās not cpradio), and DSF suspects imported topics/posts arenāt being registered properly ā despite over 1,000 topics and 30,000 posts imported, the system still defaults to āYearlyā instead of āAll Time.ā
Setting is non-responsive; I want to show top topics from all time by default. Top page only shows top topics over the last year, no matter what timeframe I choose.
Private forum - v2.2.0.beta5 +48
Where are you choosing the timeframe?
I think he is choosing it in a site setting, however, IIRC, if the default setting canāt return the necessary number of results, it will cycle down the list to the one that can.
Somewhere in admin ā settings (search for Ā«top pageĀ»; second result named Ā«top page default timeframeĀ»)
Do you have enough data to populate the list, per @cpradioās comment?
Also, I canāt reproduce the issue on latest. My sandbox is successfully showing All Time, Quarterly, or whatever I choose in the site setting (there could be an explanation to that, in that it is ignoring insane limits and choosing a safer default ā Iāve have to look at the code to figure out if that is happening).
I also played with the number of results and it didnāt seem to make any difference.
Visiting the top page
Choosing All
Visiting the top page
I changed «topics per period in top page» from 50 to 5; and now «all time» is no longer an option from the top page - still gone after changing the value back to 50. I also tried changing it to 1; the system now uses week as the default timeframe. Quarter and year shows 9 topics?
«All time» is now back after changing the value to 50 once again, and refreshing the top page a few times
cpradio, is the sandbox configured as a private forum? Login reguired to view anything; registration disabled (new users by invitation from staff only)
No, it is open to all. https://sandbox.cpradio.org
cpradio, the first comment; seems to me that whateverās working behind the list isnāt registering old/imported topics and posts? The setting in the admin panel is set to show āallā as default, but the top list picks āyearlyā by default? I canāt remember the exact numbers, but more than 1000 topics and 30000 posts was imported, so you can see why Iām expecting a different behaviour.