I’m submitting a…
[ ] Regression (a behavior that stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
When trying to filter on a language that contains a hyphen e.g nl-BE the OData filter is required to be in an invalid format: $filter=data/Title/nl-BE eq ‘Something’
Expected behavior
To be able to filter on these languages.
Minimal reproduction of the problem
Create a schema localized in a language with a hyphen in it’s name and try to filter on it
Environment
- [x] Self hosted with version docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ ] Cloud version
Browser:
- [ ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
I noticed the same happens when you create your own property with a hyphen, but I guess I should just change the name in this case.