Fix URL strings for query parameter method

This commit is contained in:
Cmdr McDonald
2016-11-21 11:33:34 +00:00
parent 24abd6583f
commit 95b7d60be4
7 changed files with 20 additions and 17 deletions

View File

@@ -211,13 +211,13 @@ export function toDetailedExport(builds) {
* @return {string} Zipped Base 64 encoded JSON
*/
export function fromComparison(name, builds, facets, predicate, desc) {
return Utils.toUrlSafe(LZString.compressToBase64(JSON.stringify({
return LZString.compressToBase64(JSON.stringify({
n: name,
b: builds.map((b) => { return { s: b.id, n: b.buildName, c: b.toString() }; }),
f: facets,
p: predicate,
d: desc ? 1 : 0
})));
}));
};
/**