web2py/web2py — pull request #545 by timrichardson (2014-11-24 12:39:59+00:00)
Title: boolean widgets in the SQLFORM.grid search widget should be "off" if unc...

...hecked.
Boolean widgets are currently always "on" when the search query is built. The javascript code from sqlhtml.py doesn't allow for boolean widgets as checkboxes. Using jQuery .val() always returns "on" regardless of the checked/unchecked nature of the checkbox. But please carefully verify this patch. My jQuery is googling StackOverflow.