In appconfig.ini I have the following setting:

ignore_field_case = 1

and in the connection string:

ignore_field_case=myconf.take('db.ignore_field_case', cast=lambda value: 
bool(int(value)))

I thought 'Make a Move and 'make a move' in a search field would in this 
case both return
the same result, however, 'Make a Move' does return a result, 'make a move' 
returns an
error: value not in database.

I also tried:

ignore_field_case = True

but that did not make any difference, how do I make web2py ignore field 
case?


Kind regards,

Annet

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

Reply via email to