Skip to content

Fix error in filters documentation #696

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

Merged
merged 1 commit into from
Jan 6, 2019
Merged

Fix error in filters documentation #696

merged 1 commit into from
Jan 6, 2019

Conversation

alegout
Copy link
Contributor

@alegout alegout commented Jan 5, 2019

Fix error in https://api-platform.com/docs/core/filters#numeric-filter (text is same as boolean filters)

core/filters.md Outdated
@@ -324,7 +324,7 @@ class Offer
}
```

Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?sold=1`.
Given that the collection endpoint is `/offers`, you can filter offers by numeric with the following query: `/offers?sold=1`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO "by numeric" is not very clear. I'm suggesting to remove it instead.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And do the same for the boolean filter. Or find another sentences.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @alanpoulain,

It's done, thank you for your feedback.

@dunglas dunglas merged commit 99c4fbd into api-platform:2.3 Jan 6, 2019
@dunglas
Copy link
Member

dunglas commented Jan 6, 2019

Thanks @alegout

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.

4 participants