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

[Query options]$orderyby query option does not support "/" yet #205

Open
isabelrios opened this issue Dec 21, 2016 · 2 comments
Open

[Query options]$orderyby query option does not support "/" yet #205

isabelrios opened this issue Dec 21, 2016 · 2 comments
Milestone

Comments

@isabelrios
Copy link
Collaborator

For example:
http://localhost:8080/v1.0/Observations?$expand=Datastream&$orderby=Datastreams/id

The error shown is:
{"code":400,"errno":104,"error":"Bad Request","message":{"name":"SyntaxError","expected":["" "",""&"","","",""."","[a-zA-Z0-9\-]"],"found":"/","message":"Expected " ", "&", ",", "." or [a-zA-Z0-9\-] but "/" found.","offset":39,"line":1,"column":40}}

@albertopq
Copy link
Collaborator

Hey @isabelrios ! Could you try to 'npm install' and try again?

Thanks!

@isabelrios
Copy link
Collaborator Author

Thanks @albertopq. Same result after npm install.
As discussed, seems like the orderby query option does not support "/" yet.
Changing the title of the issue

@isabelrios isabelrios changed the title $expand and $orderyby query options in same request gives an error $orderyby query option does not support "/" yet Dec 21, 2016
@isabelrios isabelrios added this to the Next milestone Dec 21, 2016
@isabelrios isabelrios changed the title $orderyby query option does not support "/" yet [Query options]$orderyby query option does not support "/" yet Dec 21, 2016
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

No branches or pull requests

2 participants