aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-09 13:18:34 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-09 13:18:34 +0200
commit06e00475724bbcf0c99a1c8a430b97103822360b (patch)
treeb26b5b3b39c0866a4d440017ceee844ebf537a96 /routes
parent3f7be1f445dd1e1e51d3e321f8dcda8a0b5d2a30 (diff)
add search term to ga
Diffstat (limited to 'routes')
-rw-r--r--routes/getUserIndex.js15
1 files changed, 10 insertions, 5 deletions
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
})
}
})