Hi,

How can I orderby IP address?
Can I write my own sort function?
How?
The following code:
db.t_device2ip.f_ip_id.requires = IS_IN_DB(db,'t_ip.id','%(f_ip_addr)s: 
%(f_dns_name)s',multiple=False, orderby = 't_ip.f_ip_addr')

Sort as if IP was a string. (well in fact it is.. but that's not the result 
I want to see..)

Thanks,

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to