From c055a9f2ae60497d7f2072bf4fbc0f3770d7762f Mon Sep 17 00:00:00 2001 From: WEBER Antoine Date: Wed, 23 Sep 2015 23:22:52 +0200 Subject: [PATCH] ajout du type de cahn --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 1ecfa0c..e70aa93 100644 --- a/routes/index.js +++ b/routes/index.js @@ -18,7 +18,7 @@ router.get('/', function(req, res, next) { //} //stmt.finalize(); - db.each("SELECT id, name" + db.each("SELECT id, name, section_type as type" + " FROM library_sections ORDER BY name ASC", function(err, row) { data.push(row); },