If you're using auth.signature, you should ignore common filters.

On Thu, Jul 24, 2014 at 2:43 AM, Henry Nguyen <[email protected]> wrote:
> I'm using SQLFORM.grid() to display a list of users from db.auth_user for an
> administrative interface. I'd like to display deleted users as well as
> active users. Is there any way to modify SQLFORM.grid() to display rows
> where is_active == False in addition to where is_active == True? Using
> query=(db.auth_user.is_active == False) does not appear to produce the
> desired result. Specifically:
>
> form = SQLFORM.grid(
>         query=(db.auth_user.is_active == False)
> )
>
> Thanks ahead of time for any help.
>
> --
> 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.

-- 
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.

Reply via email to