munki / munkiwebadmin

Web app to manage a Munki repo and monitor Munki clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

  1. Have iMacs with hardware identifiers that start with a single digit, and others that start with multiple digits.
  2. Visit the MWA report dashboard.
  3. 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...