Ticket #3358: stats-group-by.diff

File stats-group-by.diff, 633 bytes (added by Wolfgang <mythtv@…>, 13 years ago)
  • mythweb/modules/stats/handler.php

     
    8989                                    ON channel.chanid = oldrecorded.chanid
    9090                    '.$where.'
    9191                             AND channel.channum IS NOT NULL
    92                     GROUP BY oldrecorded.chanid
     92                    GROUP BY channel.name
    9393                    ORDER BY recorded DESC, last_recorded, name '
    9494                    .$limit);
    9595    while($row = $sh->fetch_assoc())