While it's easy for a regular user to find workarounds, it's not good from marketing point of view to show an empty list to newcomers.
Only showing 1 day of discussions might have been a good approach 20 years ago, where we had over 300 posts per day (I checked using RAT's "time machine")
It took me an hour to decipher how the default is set, it's done in an obscure CGI.pm method called popup_menu of an old version of CGI.
It creates the
The third optional argument defines the default and as a side effect the parameter $q->param('numdays') is accordingly set if missing. If no default is given, the first option=1 is chosen.
I introduced a lexical variable my $default_numdays = 3; to make it self-documenting for future maintainers.
I wouldn't mind setting it even higher, since we have the [Checked all of this] option.
The code to produce NN has a hard max limit of 60 days, AFAICS.
Let's wait if the gods hear our prayers ... ehm ... patches ;-)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re: Make posts in Newest Nodes show longer? (PATCH)
by LanX
in thread Make posts in Newest Nodes show longer?
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |