[whups] [patch] Sort clients in admin

Jason M. Felice jfelice at cronosys.com
Sun Aug 10 19:49:17 PDT 2003


The clients don't appear in alphabetical order... until this patch.

-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302
-------------- next part --------------
Index: whups/lib/Driver.php
===================================================================
RCS file: /repository/whups/lib/Driver.php,v
retrieving revision 1.56
diff -u -r1.56 Driver.php
--- whups/lib/Driver.php	8 Aug 2003 12:55:07 -0000	1.56
+++ whups/lib/Driver.php	11 Aug 2003 02:46:49 -0000
@@ -88,6 +88,7 @@
         if (!empty($ticket)) {
             $clients = $this->filterClientLinks('ticket', $clients, $ticket);
         }
+        asort($clients);
         if (is_a('PEAR_Error', $clients)) {
             $notification->push(_("Could not access client list."));
         }


More information about the whups mailing list