provide 10 last recordings in <lastrecordings> viewelement

This commit is contained in:
louis
2015-05-22 13:58:48 +02:00
parent b4c82f5066
commit ac70c7bd59
3 changed files with 4 additions and 3 deletions

View File

@@ -873,7 +873,7 @@ void cViewHelpers::SetLastRecordings(map<string,int> *intTokens, map<string,stri
recVals.insert(pair< string, string >("recordings[posterheight]", sPosterHeight.str()));
lastRecordings->push_back(recVals);
found++;
if (found == 5)
if (found == 10)
break;
}
}