[mythtv] Sorting in EPG Program Finder

Ben Bucksch linux.news at bucksch.org
Thu May 15 16:11:57 EDT 2003


Ben Bucksch wrote:

> Shouldn't it be as simple as
> - " title LIKE '%1' OR title LIKE 'The %1' OR title LIKE 'A %1'"
> + tr(" title LIKE '%1' OR title LIKE 'The %1' OR title LIKE 'A %1'")
> (assuming arg() replaces all occurances)? 

FYI, I just tested that and
QString("a %1 b %1").arg("c");
gives "a c b %1" - braindead.

I also missed the later code that adds the article to the end etc..



More information about the mythtv-dev mailing list