Skip to content

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