Improved sorting for hardware-breakdown, Treat hardware IDs as composite ints, not strings.
natewalck opened this issue · comments
Issue by natewalck
Friday Sep 19, 2014 at 07:12 GMT
Originally opened as munki/munki#319
From dwurs...@gmail.com on April 23, 2014 11:08:40
Would love to see improved sorting for hardware whose identifiers have hit double-digits.
What steps will reproduce the problem?
- Have iMacs with hardware identifiers that start with a single digit, and others that start with multiple digits.
- Visit the MWA report dashboard.
- Look at the listing for hardware-breakdown
What is the expected output? What do you see instead?
Found:
iMac10,1
iMac12,1
iMac13,1
iMac8,1
iMac9,1
Would like to see:
iMac8,1
iMac9,1
iMac10,1
iMac12,1
iMac13,1
What version of the Munki tools/InstallOSpkg tools are you using? On what version of OS X?
Munki tools: 1.0.0.1864
OS: 10.9.2 Server
Original issue: http://code.google.com/p/munki/issues/detail?id=319
Comment by natewalck
Friday Sep 19, 2014 at 07:12 GMT
From gregnea...@mac.com on April 23, 2014 11:21:07
I have no intention (or time) to work on this any time soon, but if someone else wants to take a crack...