client/js/etc/global_helper.js
/**
     * Generates an URL string from a map of url parameters
     * @param {Map} urlParameters - the map of parameters
     * @returns {string} - an URI string
     */
Generates an URL string from a map of url parameters
@param {Map} urlParameters - the map of parameters
@returns {string} - an URI string
Generates an URL string from a map of url parameters @param { Map } urlParameters - the map of parameters @returns { string } - an URI string
static urlString(urlParameters) {
        const attr = [];
        urlParameters.forEach((v, k) => {
            if (v != undefined) {
                let value = v;
                if (Array.isArray(v)) value = '..' + v.join(',');
                attr.push(encodeURI(k + '=' + value))
            }
        });
        const url = window.location.pathname;
        let res = url.substring(url.lastIndexOf('/') + 1);
        if (attr.length > 0) {
            res += '?' + attr.join('&')
        }
        return res;
    }
static urlString ( urlParameters ) { const attr = [ ] ; urlParameters . forEach ( ( v , k ) => { if ( v != undefined ) { let value = v ; if ( Array . isArray ( v ) ) value = '..' + v . join ( ',' ) ; attr . push ( encodeURI ( k + '=' + value ) ) } } ) ; const url = window . location . pathname ; let res = url . substring ( url . lastIndexOf ( '/' ) + 1 ) ; if ( attr . length > 0 ) { res += '?' + attr . join ( '&' ) } return res ; }
Generates an URL string from a map of url parameters
 @param {Map} urlParameters - the map of parameters
 @returns {string} - an URI string
Generates an URL string from a map of url parameters @param { Map } urlParameters - the map of parameters @returns { string } - an URI string