Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

sort stories by publish date desc via API not working #776

Open
rahulbot opened this issue Mar 5, 2021 · 3 comments
Open

sort stories by publish date desc via API not working #776

rahulbot opened this issue Mar 5, 2021 · 3 comments
Assignees
Labels

Comments

@rahulbot
Copy link
Contributor

rahulbot commented Mar 5, 2021

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.

@dsjen
Copy link
Contributor

dsjen commented Mar 9, 2021

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?

@pypt
Copy link
Contributor

pypt commented Mar 11, 2021

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)?

@rahulbot
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants