Hello,
I try to allow the search widget to search in represented fields (that are
see as integer by the grid)... I try to make use of .with_alias() and left
join for that, but had many error...
Is this even possible ?
SQLFORM.grid(...,
left=db.myjointable.on(db.myjointable.id == db.mygridtable.myjointable_id)
fields=[..., db.myjointable.field_represent.with_alias('new_field_name')]
...)
Thanks
Richard
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.