> Actually, the extensions are internal to the company, either phone numbers or mobile numbers, so your scenario won't ever apply.
Fine, I disagree with this assumption but I'm not your client. > Conclusion: Just the Supervisor extensions Well this is very easy, the Supervisor is just a Person like everyone else. So all you need is # Assuming you're getting the id of the supervisor you want the extensions for in request.args(0) supervisor = db.auth_user[request.args(0)] supervisor_extensions = db(db.Extension.Person == supervisor.id).select() -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.