makeUrl (linkParams) {
    const params = extend({}, this.urlParams);
    if (this.hidepassed !== null) {
      params.hidepassed = this.hidepassed;
    }
    extend(params, linkParams);

    let querystring = '?';
    for (let key in params) {
      // Skip inherited or undefined properties
      if (hasOwn.call(params, key) && params[key] !== undefined) {
        // Output a parameter for each value of this key
        // (but usually just one)
        let arrValue = [].concat(params[key]);
        for (let i = 0; i < arrValue.length; i++) {
          querystring += encodeURIComponent(key);
          if (arrValue[i] !== true) {
            querystring += '=' + encodeURIComponent(arrValue[i]);
          }
          querystring += '&';
        }
      }
    }

    return window.location.pathname + querystring.slice(0, -1);
  }
@param {Object.<string,boolean|string|string[]>} linkParams
@return string