[mythtv-commits] Ticket #2673: changing the ordering in channel-settingslist

MythTV mythtv at cvs.mythtv.org
Fri Nov 10 14:09:15 UTC 2006


#2673: changing the ordering in channel-settingslist
----------------------------------+-----------------------------------------
 Reporter:  fux at users.berlios.de  |       Owner:  xris   
     Type:  patch                 |      Status:  new    
 Priority:  trivial               |   Milestone:  unknown
Component:  mythweb               |     Version:  0.20   
 Severity:  low                   |  
----------------------------------+-----------------------------------------
 Hio,

 I find it more intuitively, ordering the channel-list in mythweb by
 channelnum and not channelid.

 {{{
 --- modules/settings/channels.php.orig 2006-11-08 18:17:03.000000000 +0100
 +++ modules/settings/channels.php 2006-11-08 18:18:17.000000000 +0100
 @@ -75,7 +75,7 @@
   // Load all of the channel data from the database
   $Channels = array();
 - $sh = $db->query('SELECT * FROM channel ORDER BY chanid');
 + $sh = $db->query('SELECT * FROM channel ORDER BY ABS(channum)');
   while ($row = $sh->fetch_assoc()) {
   $Channels[] = $row;
  }

 }}}

 sincerly,
                  /fux

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2673>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list