[guadec-web-regcfp/develop] Shuffle the filtered list
- From: Patrick Uiterwijk <puiterwijk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web-regcfp/develop] Shuffle the filtered list
- Date: Sat, 8 Aug 2015 13:59:40 +0000 (UTC)
commit 00b6272eaca5f8bc4b69ca4c97fb97bed95923e7
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date: Sat Aug 8 15:59:35 2015 +0200
Shuffle the filtered list
routes/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/routes/index.js b/routes/index.js
index e636dbb..6c3ed48 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -60,7 +60,7 @@ router.get('/view_name', function(req, res, next) {
users2.push(user);
}
};
- shuffle(users);
+ shuffle(users2);
var name = null;
if(req.query.index) {
name = users2[req.query.index].name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]