mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fixed reading comics web controller.
This commit is contained in:
parent
30982be0a9
commit
169c6c16dd
@ -25,12 +25,9 @@ void ReadingComicsController::service(HttpRequest &request, HttpResponse &respon
|
||||
|
||||
void ReadingComicsController::serviceContent(const int &library, HttpResponse &response)
|
||||
{
|
||||
//TODO sort comics before serving them
|
||||
int FIXME;
|
||||
QList<ComicDB> readingComics = DBHelper::getReading(library);
|
||||
|
||||
QList<ComicDB> tagComics = DBHelper::getReading(library);
|
||||
|
||||
for(const ComicDB &comic : tagComics)
|
||||
for(const ComicDB &comic : readingComics)
|
||||
{
|
||||
response.write(YACReaderServerDataHelper::comicToYSFormat(library, comic).toUtf8());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user