WIP show.js
This commit is contained in:
parent
3762a7ae45
commit
d079598992
|
@ -32,7 +32,7 @@ router.get('/:id', function(req, res, next) {
|
|||
shows = row;
|
||||
});
|
||||
|
||||
db.each("SELECT episode.id as , episode.title as titre, episode.'index' as episode, season.'index' as saison "+
|
||||
db.each("SELECT episode.id as id, episode.title as titre, episode.[index] as episode, season.[index] as saison "+
|
||||
"FROM metadata_items episode,metadata_items season,metadata_items show "+
|
||||
"WHERE episode.parent_id=season.id AND season.parent_id = show.id AND show.id = ? ",req.params.id, function(err, row) {
|
||||
console.log(err);
|
||||
|
|
Loading…
Reference in New Issue