Permalink
Browse files

Services API: Order programs in GetProgramGuide() by starttime

  • Loading branch information...
1 parent 586e4e1 commit a180bbc1b89290128ac617e8a640740ada3f0690 @stuartm stuartm committed Oct 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/programs/mythbackend/services/guide.cpp
@@ -96,7 +96,7 @@ DTC::ProgramGuide *Guide::GetProgramGuide( const QDateTime &rawStartTime ,
"AND program.starttime <= :EndDate "
"GROUP BY program.starttime, channel.channum, "
"channel.callsign, program.title "
- "ORDER BY program.chanid ";
+ "ORDER BY program.chanid, program.starttime ";
bindings[":StartChanId"] = nStartChanId;
bindings[":EndChanId" ] = nEndChanId;

0 comments on commit a180bbc

Please sign in to comment.