Pagination et connect ?

RealET <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Bonjour,

Il me semble que je suis tombé sur un bug des pagination avec connect

Soit une page qui charge plusieurs fois le même INCLURE avec un connect 
différent à chaque fois :
<INCLURE{fond=inc_mini_plan,env,ajax,connect=connect1,p=1}>
<INCLURE{fond=inc_mini_plan,env,ajax,connect=connect2,p=2}>
<INCLURE{fond=inc_mini_plan,env,ajax,connect=connect3,p=3}>

Soit inc_mini_plan.html qui contient en substance :
#ANCRE_PAGINATION
<BOUCLE_Rubrique(spip_rubriques){id_parent=0}{par num titre}{pagination 
5 #ENV{p}}>
<li>#TITRE</li>
</BOUCLE_Rubrique>
#PAGINATION

La pagination, au lieu de réutiliser le connect passé en argument 
utilise la connexion par défaut du site.

Bug ?

--
RealET
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.