From 06e00475724bbcf0c99a1c8a430b97103822360b Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 9 Sep 2016 13:18:34 +0200 Subject: add search term to ga --- routes/getUserIndex.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'routes') diff --git a/routes/getUserIndex.js b/routes/getUserIndex.js index 6ee6610..46db236 100644 --- a/routes/getUserIndex.js +++ b/routes/getUserIndex.js @@ -48,7 +48,8 @@ function getStandardUsers () { type: 'c', value: item, index: index, - other: '' + other: '', + isID: true } })) .concat(items[1].map(function (item, index) { @@ -56,7 +57,8 @@ function getStandardUsers () { type: 't', value: item, index: index, - other: '' + other: '', + isID: true } })) .concat(items[2].map(function (item, index) { @@ -64,7 +66,8 @@ function getStandardUsers () { type: 'r', value: item, index: index, - other: '' + other: '', + isID: true } })) .concat(items[3].map(function (item, index) { @@ -72,7 +75,8 @@ function getStandardUsers () { type: 's', value: item, index: index, - other: '' + other: '', + isID: true } }))) }) @@ -102,7 +106,8 @@ function addExtendedUsers (standardUsers) { type: standardUsers[i].type, index: standardUsers[i].index, value: extendedName, - other: standardUsers[i].value + other: standardUsers[i].value, + isID: false }) } }) -- cgit v1.1