[pmwiki-users] pagelist sorting
Jiri Hladůvka / OBUTEX
admin at obutex.com
Mon Mar 5 04:06:54 CST 2007
The sorting is text sorting - consider the digits as characters
A. Fish:09
B. Fish:10
C. Fish:30
If the numbers are result of some incrementing then start the numbering
from 100 or 1000
not to have the same problem when 100 or 1000 arrived
Regards
Jiri
Jon Haupt napsal(a):
> When the order= element of pagelist is used on numbers, the sort
> method is digit-by-digit (i.e. 10 comes before 9). How can I create
> something where 9 is sorted before 10? I am using this with page text
> variables. so if I have pages with
>
> A. Fish:9
>
> B. Fish:10
>
> C. Fish:30
>
> and create a pagelist with order=$:Fish, the pages will be sorted BCA.
> But I want them to sort ABC.
>
> Thanks,
>
> Jon
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
> __________ Informace od NOD32 2095 (20070305) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>
>
--
OBUTEX s.r.o
Ing.Jiří Hladůvka
Zlatovská 22
911 01 Trenčín
tel.: +421 (0)32 6587000
mailto:admin at obutex.com
http://www.obutex.com
More information about the pmwiki-users
mailing list