New
- Every heading on the device list sorts. ID, Device, Alias, Group, Owner, Version, First Seen, Last Seen and Status — click to sort, click again to reverse. Blank values always sort last, and rows with equal values break the tie on device ID, so the list stops rearranging itself while it refreshes. That was the actual complaint behind #27: aliases were hard to edit because the rows kept moving.
- Your choice is remembered, per user, and survives signing out.
- Sorting on a phone: the card list has no headings to click, so the toolbar gets a sort picker and a reverse button.
- CSV export follows the order on screen.
Owner sorting is admin-only, and the default is unchanged — last seen, newest first — so an existing install looks exactly as it did until someone picks a column.
Thanks
Implemented from a pull request by @AJV20 (#29), who did the query work: the allowlisted sort keys, the blanks-last rules and the tie-breaker are theirs.
Notes
Adds one migration (two nullable columns on users), verified against MariaDB. Upgrade by pulling the new tag and restarting.
docker pull marcpope/cortendesk:1.6.0
docker pull ghcr.io/marcpope/cortendesk:1.6.0