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

Fix integer parsing failure #49

Merged
merged 1 commit into from Nov 6, 2017
Merged

Fix integer parsing failure #49

merged 1 commit into from Nov 6, 2017

Conversation

ghost
Copy link

@ghost ghost commented Nov 6, 2017

Filtrex.Conditions.Number always causes a parsing failure on any integer value. It immediately fails when(both condition must be satisfied):

  1. options are configured with allow_decimal: false
  2. value (to be parsed) is integer %{"age_equals" => 1}

@ghost ghost mentioned this pull request Nov 6, 2017
@rcdilorenzo
Copy link
Owner

@v3dr4n Thanks for the fix. Looks good!

@rcdilorenzo rcdilorenzo merged commit b59918c into rcdilorenzo:master Nov 6, 2017
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.

None yet

1 participant