backend icon indicating copy to clipboard operation
backend copied to clipboard

sort stories by publish date desc via API not working

Open rahulbot opened this issue 5 years ago • 3 comments

A collaborator reports that doing a story list with sort=mc.SORT_PUBLISH_DATE_DESC doesn't work. Sort by random and processed_stories_id do work fine. Can you check on if this works and is still supported or not? The API client says it is/was supported.

rahulbot avatar Mar 05 '21 17:03 rahulbot

The api client docs are incorrect. The API docs state that "processed_stories_id" and "random" are the only two supported sort orders.

From what you described earlier, it seems like this would be pretty essential for the collaborator's work. @pypt / @jtotoole -- any idea of how much effort would be involved in supporting a date asc/desc sort order on this endpoint?

dsjen avatar Mar 09 '21 22:03 dsjen

That wouldn't be a particularly hard change, a day of work with tests I suppose. How important / urgent is it in relation to other things currently on my plate (given that quite a bit of Perl is involved in the change)?

pypt avatar Mar 11 '21 20:03 pypt

I'd say not urgent - but worth keeping on the "nice to have soon-ish" list.

rahulbot avatar Mar 11 '21 20:03 rahulbot