All pastes #228268 Raw Edit

Unnamed

public text v1 · immutable
#228268 ·published 2006-10-29 23:40 UTC
rendered paste body
Index: includes/channels.php
===================================================================
--- includes/channels.php       (revision 11628)
+++ includes/channels.php       (working copy)
@@ -39,7 +39,7 @@
         $sql .= ' channel.visible=1';
     // Sort
         $sql .= ' ORDER BY '
-                .(sortby_channum ? '' : 'channel.callsign, ')
+                .'channel.callsign, '
                 .'(channel.channum + 0), channel.channum, channel.chanid';  // sort by channum as both int and string to grab subchannels
     // Query
         $sh = $db->query($sql);