FYI I was trying to disable the common filter on a table that was used in 
the IS_IN_DB validator. I tried a few options:

IS_IN_DB(db, 'Organisation.id', ignore_common_filters=True)
and 
IS_IN_DB(db(db.Organisation.id>=0, ignore_common_filters=True)

The former should work for IS_NOT_IN_DB but it didn't work for IS_IN_DB

Anyhow, I had a look at pydal to see if i could work out what was going on. 
It seems it simply wasn't implemented so I have made some minor changes 
which has things working for me.  You can find them 
here: https://github.com/web2py/pydal/pull/642 

It is possible that i was going about this the wrong way so if there is a 
different way i should have been doing this please let me know.

Cheers
Andrew

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/2657ed6c-46f2-4fa3-9355-208d7c8d7089n%40googlegroups.com.

Reply via email to