after sort by status, secondary sort by Weeks in queue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 3
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 8
Description
An enhancement - After the user clicks to sort by Status, within that sort, it would be nice to automatically order by 'Weeks in queue' descending. This would make it easier to see what documents are oldest within a given status. (Currently it's unclear what the sort is within each status.)
I propose Weeks in state desc no matter whether status is asc or desc, i.e.,
ORDER BY status desc, weeks_in_queue desc
ORDER BY status asc, weeks_in_queue desc
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the status-sort handler or query and the existing weeks_in_queue field in the repository. Check how status sorting behaves in both ascending and descending directions, then verify that records within each status are ordered by weeks_in_queue descending. Done means both sort directions consistently apply that secondary ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100