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

_sort not working correctly with id value #2560

Closed
d0roppe opened this issue Jun 28, 2021 · 2 comments
Closed

_sort not working correctly with id value #2560

d0roppe opened this issue Jun 28, 2021 · 2 comments
Assignees
Labels
bug Something isn't working cms-interop This issue is associated with the CMS interoperability rule

Comments

@d0roppe
Copy link
Collaborator

d0roppe commented Jun 28, 2021

Describe the bug
When doing a search and adding a sort like &_sort=_id the resource ID are not sorted.

Environment
4.8.3

To Reproduce
Steps to reproduce the behavior:
Issue a search on all patients like /Patient?_sort=_id or /Patient?_sort=-_id this will return the same list in the same order, and they should be ascending and descending sorted on the id of the resource.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@d0roppe d0roppe added bug Something isn't working cms-interop This issue is associated with the CMS interoperability rule labels Jun 28, 2021
@prb112 prb112 added this to the Sprint 2021-09 milestone Jun 29, 2021
@prb112
Copy link
Contributor

prb112 commented Jun 29, 2021

Discussed with team - work only New Query Builder only

michaelwschroeder added a commit that referenced this issue Jul 6, 2021
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
@d0roppe
Copy link
Collaborator Author

d0roppe commented Jul 7, 2021

Verified the sort of ID is now honored. Closing issue.

@d0roppe d0roppe closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cms-interop This issue is associated with the CMS interoperability rule
Projects
None yet
Development

No branches or pull requests

3 participants