Skip to main content
Question

Sort Branch list by date(NetSUS appliance)

  • December 8, 2013
  • 3 replies
  • 3 views

Forum|alt.badge.img+7

Hi All,

I'm pretty new here at JAMF nation.
I just want to share this hack on the NETSUS appliance(2.0) for those who want to sort the Branch list by date.
I'm not a php expert just asked the help of a friend too.

  1. Login to your appliance and do: sudo nano /var/www/webadmin/managebranch.php. Scroll down 'till you find natcasesort($formattedpackages); change it to uksort($formattedpackages);
  2. Just below that add $formattedpackages = array_reverse($formattedpackages, TRUE); so the resulting command shows: uksort($formattedpackages); $formattedpackages = array_reverse($formattedpackages, TRUE);
  3. CTRL+O or CTRL+X and save.

Browse to your Netsus page, drill in to your branch and updates should be sorted by date, newest on top.

3 replies

Forum|alt.badge.img+7
  • Contributor
  • December 9, 2013

Super handy! thank you!


Forum|alt.badge.img+11
  • Valued Contributor
  • December 9, 2013

Very Nice! Love these sort of tips.


Forum|alt.badge.img+7
  • Contributor
  • December 9, 2013

This is great! Thank you!