Merged luisangelsm/yacreader into default

This commit is contained in:
Felix Kauselmann
2015-03-25 22:48:26 +01:00
parent b0e40a9b94
commit 3a6b2d9b98
4 changed files with 18 additions and 8 deletions

View File

@ -82,7 +82,7 @@ void ComicController::service(HttpRequest& request, HttpResponse& response)
response.writeText(QString("libraryId:%1\r\n").arg(libraryId));
if(remoteComic) //send previous and next comics id
{
QList<LibraryItem *> siblings = DBHelper::getFolderComicsFromLibrary(libraryId, comic.parentId);
QList<LibraryItem *> siblings = DBHelper::getFolderComicsFromLibrary(libraryId, comic.parentId, true);
bool found = false;
int i;
for(i = 0; i < siblings.length(); i++)