Commit 56504b50 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

support negative values in query config overrides

parent bfd431a0
...@@ -1292,7 +1292,7 @@ ...@@ -1292,7 +1292,7 @@
if( value === 'null' ) return null; if( value === 'null' ) return null;
else if( value === 'true' ) return true; else if( value === 'true' ) return true;
else if( value === 'false' ) return false; else if( value === 'false' ) return false;
else if( value.match( /^[\d\.]+$/ ) ) return parseFloat( value ); else if( value.match( /^-?[\d\.]+$/ ) ) return parseFloat( value );
} }
return value; return value;
......
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