Re: [Rest2web-develop] problem with sort order of sections variable
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-11-08 14:07:42
|
martin f krafft wrote: > Hi there, > > The sections variable is an OrderedDict. I am, however, confused as > to how it's ordered. I have files 1-6.txt (so 1.txt, 2.txt, ..., > 6.txt), and they have titles with starting letters G,R,K,P,S,V > respectively. Yet, when I iterate sections, the order I get is > 4,1,2,3,6,5 (P,G,R,K,V,S). So I guess neither filename nor title > actually play a role. > It *ought* to use the ordering you declare them in the restindex... Fuzzyman http://www.voidspace.org.uk/index2.shtml > How can I then influence the sort order of the sections variable, > which is used e.g. by minibar. > > Cheers, > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > |