﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
7536	Mythweb Favorites not Correct for 0.22	scottadmi@…	Rob Smith	"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';
        else
            $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. 
"	defect	closed	minor	unknown	Plugin - MythWeb	0.22	medium	wontfix			0
