Commit 1a811f8e authored by Xavier Guimard's avatar Xavier Guimard

Bad query for ip browsing (closes: #1170)

parent 45fd17b5
......@@ -15,13 +15,13 @@ schemes =
]
ipAddr: [
(t,v) ->
"groupBy=net4(#{t},1)"
"#{t}=#{v}*&groupBy=net4(#{t},1)"
(t,v) ->
"groupBy=net4(#{t},2)"
"#{t}=#{v}*&groupBy=net4(#{t},2)"
(t,v) ->
"groupBy=net4(#{t},3)"
"#{t}=#{v}*&groupBy=net4(#{t},3)"
(t,v) ->
"groupBy=net4(#{t},4)"
"#{t}=#{v}&groupBy=net4(#{t},4)"
(t,v) ->
"#{t}=#{v}&groupBy=_whatToTrace"
(t,v,q) ->
......
......@@ -19,13 +19,13 @@
],
ipAddr: [
function(t, v) {
return "groupBy=net4(" + t + ",1)";
return t + "=" + v + "*&groupBy=net4(" + t + ",1)";
}, function(t, v) {
return "groupBy=net4(" + t + ",2)";
return t + "=" + v + "*&groupBy=net4(" + t + ",2)";
}, function(t, v) {
return "groupBy=net4(" + t + ",3)";
return t + "=" + v + "*&groupBy=net4(" + t + ",3)";
}, function(t, v) {
return "groupBy=net4(" + t + ",4)";
return t + "=" + v + "&groupBy=net4(" + t + ",4)";
}, function(t, v) {
return t + "=" + v + "&groupBy=_whatToTrace";
}, function(t, v, q) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment