• jnga's avatar
    Make 'contains' the default string filter operator. · 4371d0e8
    jnga authored
    Upon adding a filter for a string field, 'equals' is the
    default selected operator. The broader option, 'contains',
    is more like the searches people typically do on web
    site and operating system search boxes. Being broader,
    contains is more generally useful for string fields than
    equals.
    
    This change places contains first in the list so it is
    the default choice, preventing the user from having to
    select it. The change applies to all three data engines
    (MongoEngine, Peewee, and SQLAlchemy).
    4371d0e8
Name
Last commit
Last update
babel Loading commit data...
doc Loading commit data...
examples Loading commit data...
flask_admin Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.rst Loading commit data...
TODO.txt Loading commit data...
dev-requirements.txt Loading commit data...
projects.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...