Ticket #2036: 2306_patch.diff

File 2306_patch.diff, 540 bytes (added by Jeff S. <jeff@…>, 14 years ago)

Patch to fix duplicate channels (same callsign, same channum) from showing up

  • mythweb/modules/tv/includes/channels.php

     
    4242        else
    4343            $sql = 'SELECT * FROM channel WHERE';
    4444        $sql .= ' channel.visible=1';
     45        $sql .= ' GROUP BY channel.channum, channel.callsign';   
    4546    // Sort
    4647        $sql .= ' ORDER BY '
    4748                .(sortby_channum ? '' : 'channel.callsign, ')