Make NullBooleanSelect for NullBooleanField pass true/false as a GET parameter
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, NullBooleanSelect uses form with the following parameters:
choices = ((u'1', ugettext('Unknown')), (u'2', ugettext('Yes')), (u'3', ugettext('No')))
which generates URLs like
Param: No selection and
Param: Unknown. This makes URLs pretty counter-intuitive for search forms. For example, imaging search for issues. If you need to find all closed issues, the URL will be
?closed=1 as you may assume for boolean field.
It will be more user-friendly to generate
param=false for boolean field URLs.