Skip to content

Commit 73d42c4

Browse files
authored
Merge pull request #1498 from johnou/bugfix/nsqadmin_graphite_target_param
nsqadmin: fix graphite 'target' param serialization
2 parents 4de1606 + 09c645d commit 73d42c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsqadmin/static/js/lib/handlebars_helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Handlebars.registerHelper('sparkline', function(typ, node, ns1, ns2, key) {
257257
return 'summarize(' + t + ',"' + interval + '","avg")';
258258
});
259259

260-
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q);
260+
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q, true);
261261
});
262262

263263
Handlebars.registerHelper('large_graph', function(typ, node, ns1, ns2, key) {
@@ -283,7 +283,7 @@ Handlebars.registerHelper('large_graph', function(typ, node, ns1, ns2, key) {
283283
return 'summarize(' + t + ',"' + interval + '","avg")';
284284
});
285285

286-
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q);
286+
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q, true);
287287
});
288288

289289
Handlebars.registerHelper('rate', function(typ, node, ns1, ns2) {

0 commit comments

Comments
 (0)