XF 2.2 Is it possible to apply a filter to threads from the last 2 days?

Ferry

Member
Hi,

Is it possible to apply a filter to display author's threads for the last day or two? Because the minimum range starts from the last 7 days.

Best regards

2024-02-15 123200.webp
 
Maybe it is as easy as that you could change or add a row in the template forum_filters

Code:
<xf:option value="7">{{ phrase('x_days', {'days': '7'}) }}</xf:option>

At the same time if you choose 7 days you will have the newest on the top of the list anyway?
 
Maybe it is as easy as that you could change or add a row in the template forum_filters

Code:
<xf:option value="7">{{ phrase('x_days', {'days': '7'}) }}</xf:option>

At the same time if you choose 7 days you will have the newest on the top of the list anyway?
Yes, I tried that too before asking, but unfortunately it doesn't work. Additional development is required.
 
Top Bottom