id (ZopeTime) - f*cked up... can somebody please help...!
F*ck! It is now 1000000000 seconds since 1/1 1970... I am using Zope 2.2.4.. I have alot of stuff with id=_.str(_.int(ZopeTime())) and in this version (don't know about the later vesions) sorts the id's correctly ("1000000000" is less than "999999999" ), but when doing this: <dtml-in "objectValues(['x'])" sort=id> it messes up... I have tried the follwing things (I am desperate you know) 1) <dtml-in "objectValues(['x'])" sort=_.int(id)> 2) <dtml-in "objectValues(['x'])" sort=bobbase_modification_time> Both methods results in NON-SORTED output... Can anybody help me...? /Stoons, the desperate guy....
3dfestival - WebMaster writes:
<dtml-in "objectValues(['x'])" sort=id> it messes up... strange, should work!
I have tried the follwing things (I am desperate you know)
1) <dtml-in "objectValues(['x'])" sort=_.int(id)> This will not work, as there is no attribute "_.int(id)"
2) <dtml-in "objectValues(['x'])" sort=bobbase_modification_time> This will not work, as the correct name is "bobobase_modification_time" (missing "o").
Both methods results in NON-SORTED output...
Dieter
participants (2)
-
3dfestival - WebMaster -
Dieter Maurer