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

Incorrect default order for dataset items #368

Closed
peichins opened this issue Aug 1, 2018 · 0 comments
Closed

Incorrect default order for dataset items #368

peichins opened this issue Aug 1, 2018 · 0 comments
Assignees
Labels

Comments

@peichins
Copy link
Member

peichins commented Aug 1, 2018

When requesting a list of dataset items without specifying the order, the default order should be by the "order" column, but instead it is sorted by audio_recording_id then order.

In other words, requesting /datasets/$dataset_id/items/ incorrectly returns the same results as

select * from dataset_items
where dataset_id = $dataset_id
order by "audio_recording_id", "order"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant