Fixed standalone view

This commit is contained in:
Maxime Beauchemin 2015-12-24 09:24:44 -08:00
parent dfee55df1a
commit 010fbc3693
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ var px = (function() {
if (dashboard !== undefined){
qrystr = parser.search + "&extra_filters=" + JSON.stringify(dashboard.filters);
}
else if ($('#query').length == 0){
qrystr = parser.search;
}
else {
qrystr = '?' + $('#query').serialize();
}