whole_func_string: function(value, uri) {
      var _url = new URL(uri);
      var _params = new URLSearchParams(_url.search.slice(1));
      if (value === '') {
        _params.delete('filter');
      } else {
        _params.set('filter', value);
      }
      _url.search = _params.toString();
      window.history.replaceState(null, document.title, _url.toString());
    }
func_code_string: function(value, uri) {
      var _url = new URL(uri);
      var _params = new URLSearchParams(_url.search.slice(1));
      if (value === '') {
        _params.delete('filter');
      } else {
        _params.set('filter', value);
      }
      _url.search = _params.toString();
      window.history.replaceState(null, document.title, _url.toString());
    }
func_documentation_string: Set parameter `filter` in URL
  
  @function
  @private