Handle protocol and category tags while zooming community charts

Possibly addresses #2194
This commit is contained in:
emanuele-f 2018-12-03 22:25:33 +01:00
parent 03cccf9f37
commit 6574acde53

View file

@ -876,7 +876,15 @@ yAxis.render();
$("#chart").click(function() {
if(hover.selected_epoch)
window.location.href = ']]
print(baseurl .. '&ts_schema=' .. schema .. '&zoom=' .. nextZoomLevel .. '&epoch=')
print(baseurl .. '&ts_schema=' .. schema .. '&zoom=' .. nextZoomLevel)
if tags.protocol ~= nil then
print("&protocol=" .. tags.protocol)
elseif tags.category ~= nil then
print("&category=" .. tags.category)
end
print('&epoch=')
print[['+hover.selected_epoch;
});