-
Notifications
You must be signed in to change notification settings - Fork 676
Closed
Labels
A-backend ⚙️C-enhancement ✨Category: Adding new behavior or a change to the way an existing feature worksCategory: Adding new behavior or a change to the way an existing feature works
Description
Add to at least the API (and may as well add to the UI as well) the option to sort by last updated.
Crates' last_updated time is changed when a new version is published. This sort should put crates that have had a new version published most recently first.
This should be as straightforward as adding an ORDER BY; this is not a stream of new versions. That is, if this set of events happens:
- 3 days ago: crate A published version 1.0.0
- 2 days ago: crate B published version 0.5.0
- 1 day ago: crate A published version 2.0.0
The list of crates ordered by last updated time should be:
- 1 day ago: crate A
- 2 days ago: crate B
As opposed to:
- 1 day ago: crate A
- 2 days ago: crate B
- 3 days ago: crate A
Metadata
Metadata
Assignees
Labels
A-backend ⚙️C-enhancement ✨Category: Adding new behavior or a change to the way an existing feature worksCategory: Adding new behavior or a change to the way an existing feature works