__addShortAliasToJoinData__(joinData) {

    let shortAliasComponents = joinData.joinAlias.split('__').map((aliasComponent) => {
      this._shortAliasMap[aliasComponent] = this._shortAliasMap[aliasComponent] || ('j' + this._joinCount++);
      return this._shortAliasMap[aliasComponent];
    });

    joinData.shortAlias = shortAliasComponents.join('__');
    joinData.prevShortAlias = shortAliasComponents.slice(0, shortAliasComponents.length - 1).join('__');

    joinData.multiFilter = (joinData.multiFilter || []).map((comparisonArray) => {
      return comparisonArray.map((comparison) => {
        if (comparison.joins && comparison.joins.length) {
          comparison.shortAlias = comparison.joins[comparison.joins.length - 1].joinAlias;
        } else {
          comparison.shortAlias = joinData.shortAlias;
          comparison.refName = [this.db.adapter.escapeField(comparison.shortAlias), this.db.adapter.escapeField(comparison.columnName)].join('.');
        }
        return comparison;
      });
    });

    return joinData;

  }
Adds shortened aliases to joins
@param {Object} [joinData] Information about a join
@return {Object} The input join data with an added short alias
@private