import qs from 'qs';

export default (obj) => {
  const stringified = qs.stringify(obj, { encode: false });
  location.hash = stringified;
};

@@ -101,16 +101,128 @@
 lse %7D);%0A
+%0A  if (window.history) %7B%0A    window.history.replaceState(undefined, undefined, %60#$%7Bstringified%7D%60);%0A  %7D else %7B%0A  
   locati
@@ -244,11 +244,15 @@
 gified;%0A
+  %7D%0A
 %7D;%0A

Use History API to set the selected filters in the url