Sort Branch list by date(NetSUS appliance)

Araneta
New Contributor III

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 3

calum_carey
Contributor

Super handy! thank you!

FritzsCorner
Contributor III

Very Nice! Love these sort of tips.

colonelpanic
Contributor

This is great! Thank you!