[mythtv] [PATCH] mythvideo browse

Xavier Hervy maxpower44 at tiscali.fr
Tue May 25 04:47:05 EDT 2004


Xavier Hervy wrote:

> Anduin Withers wrote:
> 
>> Minor patch to make browse query consistent.
>>
>>
> I made this mistake, thx for your patch
> 
> 

Hi Anduin,
I think that there is a mistake but not the mistake you correct.
consistent query should be :
  		if (where)
  			where += QString(" AND browse = %1").arg(browse);
  		else
			where = QString(" WHERE browse = %1").arg(browse);

instead of

  		if (where)
  			where += QString(" AND browse >= %1").arg(browse);
  		else
			where = QString(" WHERE browse >= %1").arg(browse);

Xavier



More information about the mythtv-dev mailing list