Skip to content

Commit

Permalink
Sort software list in reverse order
Browse files Browse the repository at this point in the history
This should bring the most likely version to the top
of the list.
  • Loading branch information
tsagadar committed Oct 7, 2024
1 parent d3f83dc commit 7af79b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goosebit/ui/static/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function secondsToRecentDate(t) {

async function updateSoftwareSelection(devices = null) {
try {
const url = new URL("/ui/bff/software", window.location.origin);
const url = new URL("/ui/bff/software?order[0][dir]=desc&order[0][name]=version", window.location.origin);
if (devices != null) {
for (const device of devices) {
url.searchParams.append("uuids", device.uuid);
Expand Down

0 comments on commit 7af79b9

Please sign in to comment.