xbmc/xbmc — pull request #986 by ScudLee (2012-05-20 16:24:02+00:00)
Title: Fix: Movies in sets not showing in some views

In CVideoDatabase::GetMoviesByWhere if only one movie in a set matches the filter then the set is not included (because the count c is not greater than 1), but as long as the set has more one movie in it the movie will still be excluded by the movie query.
(See http://forum.xbmc.org/showthread.php?tid=129610 )

This PR fixes this by also including the filter in the movieSetsWhere string, so that only the movies in the sets included by the sets query are excluded.