From fe720cfa015f681db0076b3135b22b508bcfe570 Mon Sep 17 00:00:00 2001 From: Antoine WEBER Date: Tue, 22 Sep 2015 15:51:48 +0200 Subject: [PATCH] test et debug --- routes/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/channel.js b/routes/channel.js index eb18023..a6d2b09 100644 --- a/routes/channel.js +++ b/routes/channel.js @@ -49,7 +49,7 @@ router.get('/:id', function(req, res, next) { channel_info = row; }); - db.each("SELECT i.id as id, i.title as title, t.hints as hints, p.file as file, i.duration as second, i.size, i.year as year" + db.each("SELECT i.id as id, i.title as title, t.hints as hints, p.file as file, i.duration as second, i.size as size, i.year as year" + " FROM media_items t, metadata_items i, media_parts p " + " WHERE p.media_item_id=i.id AND t.metadata_item_id = i.id AND i.title != '' AND t.library_section_id = ? " + " ORDER BY i.title ASC",req.params.id, function(err, row) {