<div><p style="font-size:50px;margin-top:0;margin-bottom:0">😀</p><p style="margin-top:10px;margin-bottom:0">Simon reacted via <a href="https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app">Gmail</a></p></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 26 Oct 2026 at 06:53, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 21/10/2026 21:34, Simon wrote:<br>
> I'm, wondering if perhaps (:template defaults request=-group req=1<br>
> <br>
> does not work?<br>
<br>
Indeed, the attributes req= and request= should be added to the <br>
(:pagelist:) directive, not to a (:template default:) directive.<br>
<br>
They are handled early, before the pagelist "template default" are <br>
parsed.<br>
<br>
If there is req= at that early time and there is no search query <br>
(?q=term in the URL), the function exits at that point, it doesn't load <br>
the templates.<br>
<br>
Similarly for request=, the pagelist attributes like <br>
request=group,fmt,order , that are derived from the $_REQUEST array, are <br>
also merged early. If there are request= attributes in "template <br>
default", these are ignored.<br>
<br>
It always behaved in this order. If we change the order and handle these <br>
after "template default" is parsed, it may break something else.<br>
<br>
We should document this clearly.<br>
<br>
Petko<br>
<br>
-- <br>
If you upgrade :Â <a href="https://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">https://www.pmwiki.org/Upgrades</a><br>
</blockquote></div>