[mythtv-commits] Ticket #7536: Mythweb Favorites not Correct for 0.22

MythTV mythtv at cvs.mythtv.org
Tue Nov 10 18:41:38 UTC 2009

#7536: Mythweb Favorites not Correct for 0.22
 Reporter:  scottadmi@…          |       Owner:  kormoc
     Type:  defect               |      Status:  new   
 Priority:  minor                |   Milestone:  0.22  
Component:  Plugin - MythWeb     |     Version:  0.22  
 Severity:  medium               |     Mlocked:  0     
 The mythweb setting to only show favorite channels is broken for the
 current release. It refers to the no missing favorites tables. The fix is
 below for the mythweb file modules/tv/includes/channels.php

     function load_all_channels() {
         global $db;
         global $Channels;
         global $Callsigns;
         $Channels = array();
     // Initialize the query
         if ($_SESSION['guide_favonly'])
             $sql = 'SELECT channel.* FROM channel, channelgroup,
 channelgroupnames WHERE '
                   ."channelgroupnames.name='Favorites' AND
 channelgroupnames.grpid = channelgroup.grpid AND "
                   .'channel.chanid = channelgroup.chanid AND';
             $sql = 'SELECT * FROM channel WHERE';


 Further, a good enhancement would be to add a simple toggle to show just
 favorites vs. all on the listing page itself to quickly switch info.

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

More information about the mythtv-commits mailing list