duplicata

This commit is contained in:
WEBER Antoine 2015-09-24 00:24:51 +02:00
parent 20f485b2ce
commit 3023f16a30
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ router.get('/:id', function(req, res, next) {
db.each("SELECT i.id as id, i.title as title, i.duration as second, i.year as year"
+ " FROM metadata_items i, media_items t "
+ " WHERE i.id = t.metadata_item_id AND i.title != '' AND t.library_section_id = ? "
+ " ORDER BY i.title ASC",req.params.id, function(err, row) {
+ " GROUP BY i.id",req.params.id, function(err, row) {
row.duree = formatDuree(row.second);

View File

@ -9,8 +9,8 @@ block content
label Télécharger
br
each file, i in movie.file
file.size
a(href="/file/#{file.id}/#{file.filename}")= file.filename
a(href="/file/#{file.id}/#{file.filename}")
#{file.size} #{file.filename}
br
label Résumé