And sorting by lastmodified won't work. But it does not timeout
anymore!
Page:
[(search group=entwürfe.* template=lastmodified sort=lastmodified)]
Template.
<(breadcrumb {+p} offset=1 name=link)> >>>>(<(lastmodified page={+p}
fmt="%d.%m.%Y")>)>>
The time stamp of lastmodified seems alright, but it's sorted in a way
I don't understand.
(21.10.2009)
(28.10.2009)
(19.10.2009)
and so on.
On Nov 1, 11:29 pm, The Editor <[email protected]> wrote:
> Ok, there is a bug in Hans code. Or maybe I copied it wrong. Line 4 in
> the sort_de script should be this:
>
> uksort($list, 'compareItemsDe');
>
> Notice the 'k'. That tells it to sort by the key not by the value. The
> usort command also lost your key index, thus bonking the output.
>
> Cheers,
> Dan
>
> P.S. I'll upload an updated sort_de script. Sorry this took so long to
> figure out. Once I can reproduce a problem, it's usually seconds. But
> getting to that point is sometimes tricky.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---