[moin-user] ListPages macro doesn't work

Volker Wysk post at volker-wysk.de
Mon Sep 4 09:51:32 EDT 2017


Am Montag, 4. September 2017, 11:27:42 CEST schrieb Lars Kruse:
> Hello Volker,
> 
> 
> Am Mon, 04 Sep 2017 09:22:01 +0200
> 
> schrieb Volker Wysk <post at volker-wysk.de>:
> > > Taking a closer look at locale: probably you need to call
> > > "locale.resetlocale()" before, in order to switch to the locale defined
> > > via
> > > the environment variables.
> > 
> > Okay, tried it. Now I get:
> > 
> > <<PageList(Ihre Suchanfrage "Artikel/.*" ist ungültig. Siehe
> > HilfeZumSuchen
> > für weitere Informationen.)>>
> 
> is this new error message related to the "resetlocale" change above?

No, it doesn't matter if locale.resetlocale() is called.

> Did you try to minimize and vary the ListPage call? (fewer paramters,
> shorter query, ...)

I've tried around a bit. The new error seems to be brought by the 
"key=locale.strxfrm" argument of the .sort(...) invocations.

Bye
V.



More information about the moin-user mailing list