Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case insensitivity #113

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Conversation

jmcarp
Copy link

@jmcarp jmcarp commented Aug 6, 2015

Use case-insensitive search against text columns when app.config['CASE_INSENSITIVE'] is True. Note: this is branched off https://github.com/jmcarp/sandman to avoid conflicts; the relevant commit is 42fb80f.

There are currently two sets of dependency versions for sandman: one set
of pinned versions in `requirements.txt` and another set of unpinned
versions in `setup.py`. This means that installing via `pip` installs
the latest versions of the dependencies, but installing from
`requirements.txt` installs older, pinned versions. Several tests fail
with the latest versions of Flask-Admin and Flask-WTForms.

This patch fixes the breaking tests and installs tests on Travis using
`setup.py` for consistency.
Instead of fetching all results and paginating in memory, use the
pagination helpers built into Flask-SQLAlchemy.
jmcarp added a commit to 18F/autoapi that referenced this pull request Aug 6, 2015
Depends on the case-insensitive search option added to sandman in
jeffknupp/sandman#113.

[Resolves #15]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant