Commit fc316991 authored by Christophe Maudoux's avatar Christophe Maudoux

Propage fix (#1566)

parent 7e874abb
...@@ -32,7 +32,7 @@ schemes = ...@@ -32,7 +32,7 @@ schemes =
overScheme = overScheme =
_whatToTrace: (t,v,level,over) -> _whatToTrace: (t,v,level,over) ->
if level == 1 if level == 1 and v.length > over
"#{t}=#{v}*&groupBy=substr(#{t},#{(level+over+1)})" "#{t}=#{v}*&groupBy=substr(#{t},#{(level+over+1)})"
else else
null null
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
overScheme = { overScheme = {
_whatToTrace: function(t, v, level, over) { _whatToTrace: function(t, v, level, over) {
if (level === 1) { if (level === 1 && v.length > over) {
return t + "=" + v + "*&groupBy=substr(" + t + "," + (level + over + 1) + ")"; return t + "=" + v + "*&groupBy=substr(" + t + "," + (level + over + 1) + ")";
} else { } else {
return null; return null;
......
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