I have quite similar problem, except when I use row.table_name.field_name,
then my edit view stops working
Any suggestions??
here is my code
@auth.requires_login()
def workers_skills():
user = auth.user_id
org = db(db.auth_user.id ==
user).select(db.auth_user.organization)[0]["organization"
Having the same problem, thank you for the info. The problem for me is that
I can get either the left join to work using row.table_name.field_name, or
the simple view to work by using row.field_name. Is there anyway to define
a represent-function to work with both?
On Tuesday, January 15, 2013 4
OK, using a debugger, I found out my problem.
When doing a left join, the "row" variable does not contain directly the
fields. We must use row.table_name.field_name instead.
This is now working. Problem solved.
Seb
On Tuesday, January 15, 2013 4:13:45 PM UTC+1, Sebastien Stormacq wrote:
>
>
3 matches
Mail list logo