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

QuerySelectField.query allowing no results [] #15

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

TrilceAC
Copy link
Contributor

There was a bug when deciding to use either query or query_factory in QuerySelectField. Queries that returned no value where silently ignored in favor of query_factory. This has been fixed.

I've detected this issue using wtforms-sqlalchemy, which uses a similar QuerySelectField class and derived classes.

This solves issue #14

Carlos García Montoro added 2 commits November 29, 2018 15:46
There was a bug when deciding to use either query or query_factory in QuerySelectField. Queries that returned no value where silently ignored in favor of query_factory. This has been fixed. 

I've detected this issue using wtforms-sqlalchemy, which uses a similar QuerySelectField class and derived classes.
@mlenzen

This comment has been minimized.

@mlenzen mlenzen merged commit 1c646bb into wtforms:master Feb 24, 2020
mlenzen added a commit that referenced this pull request Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants