Skip to content
Browse files

fixes broken query in GetPeopleNav

  • Loading branch information...
1 parent ad714f2 commit 0d007eb22055efc2d3f7043d5664d1c48efbb254 Jonathan Marshall committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/video/VideoDatabase.cpp
View
2 xbmc/video/VideoDatabase.cpp
@@ -5072,7 +5072,7 @@ bool CVideoDatabase::GetPeopleNav(const CStdString& strBaseDir, CFileItemList& i
}
else if (idContent == VIDEODB_CONTENT_EPISODES)
{
- strSQL = "select %s " + PrepareSQL("%slinkepisode, actors, episodeview, files ", type.c_str());
+ strSQL = "select %s " + PrepareSQL("from %slinkepisode, actors, episodeview, files ", type.c_str());
extFilter.fields = "actors.idActor, actors.strActor, actors.strThumb, count(1), count(files.playCount)";
extFilter.AppendWhere(PrepareSQL("actors.idActor = %slinkepisode.id%s and %slinkepisode.idEpisode = episodeview.idEpisode and files.idFile = episodeview.idFile",
type.c_str(), type.c_str(), type.c_str()));

0 comments on commit 0d007eb

Please sign in to comment.
Something went wrong with that request. Please try again.