Ticket #4956: mythtv-4956-MythXML-program_guide_inclusive.patch

File mythtv-4956-MythXML-program_guide_inclusive.patch, 830 bytes (added by sphery <mtdean@…>, 12 years ago)
  • programs/mythbackend/mythxml.cpp

     
    519519    MSqlBindings bindings;
    520520    QString      sSQL = "WHERE program.chanid >= :StartChanId "
    521521                         "AND program.chanid <= :EndChanId "
    522                          "AND program.starttime >= :StartDate "
    523                          "AND program.endtime <= :EndDate "
     522                         "AND program.endtime >= :StartDate "
     523                         "AND program.starttime <= :EndDate "
    524524                        "GROUP BY program.starttime, channel.channum, "
    525525                         "channel.callsign, program.title "
    526526                        "ORDER BY program.chanid ";