All posts

CortenDesk 1.6.0 sorts every device list column

Sort any device list heading, keep your per-user sort choice, and export CSVs in the same order you see on screen.

Device cards arranged into sorted columns with an export tray nearby.
Device list sorting1.6.0

Device list sorting

CortenDesk 1.6.0 lets every heading on the device list sort: ID, Device, Alias, Group, Owner, Version, First Seen, Last Seen and Status. Click once to sort, click again to reverse.

Blank values sort last. Rows with equal values use the device ID as a tie-breaker, so the list stays in place while it refreshes. That makes alias editing less jumpy when rows have the same sort value.

Your sort choice is saved per user and survives signing out. The default does not change for existing installs: last seen, newest first. Owner sorting is admin-only.

Phones and CSV export

On phones, the card list has a sort picker and a reverse button in the toolbar, since there are no headings to click.

CSV export now follows the order on screen, so exports match the view you chose.

Thanks

This work came from a pull request by @AJV20 (#29), including the allowlisted sort keys, blanks-last rules and tie-breaker query work.

Updating

This version adds one migration: two nullable columns on users. It has been verified against MariaDB. Pull the new tag and restart.

docker pull marcpope/cortendesk:1.6.0
docker pull ghcr.io/marcpope/cortendesk:1.6.0

Full release notes: CortenDesk 1.6.0.