esridc / openfda

Demonstration of Agile Process
http://esridc.github.io/openfda/
Apache License 2.0
3 stars 6 forks source link

Sort order for list should have ongoing first, closed or completed at the end. #54

Open gclancy opened 9 years ago

gclancy commented 9 years ago

image

benheb commented 9 years ago

@ajturner have you come across ability for SORT in FDA API? Or should I just sort whatever results I get back first by status?

gclancy commented 9 years ago

SORT order still not working - some completed recalls are showing above ONGOING ones

image

benheb commented 9 years ago

Correct, this is not done. What's tricky about this, is that I just request the first 100 results from the API based on state, and it returns those with any status. So I could sort those results, but as soon as you scroll and paginate, the order will be mucked again. I'm thinking we might have to leave as unsorted, and if the user wants to see only "ongoing" projects, they can use the filter option above. Does that sound okay? @gclancy @ajturner @michaelgaigg

gclancy commented 9 years ago

Determined that we should leave in backlog. If this had been a real TO we would work with the end users to get additional feedback on SORT order and determine a more complete technical strategy to support.