fix: restore natural sorting for vehicles by bidder assigned number

This commit is contained in:
2026-05-01 15:16:47 -04:00
parent 3703ed569a
commit 1b30673823
2 changed files with 6 additions and 13 deletions
@@ -39,14 +39,7 @@
dropdownParent: 'body',
controlInput: '<input>',
maxOptions: null,
sortField: [{
field: 'text',
direction: 'asc',
func: function(a, b) {
// Natural sort for bidder/car numbers
return a.text.localeCompare(b.text, undefined, {numeric: true, sensitivity: 'base'});
}
}]
sortField: [] // Respect server-side order
});
});
};