public static function getCurrentUrlWithoutGenericFilters($params)
    {
        // unset all filter query params so the related report will show up in its default state,
        // unless the filter param was in $queryParams
        $genericFiltersInfo = DataTableGenericFilter::getGenericFiltersInformation();
        foreach ($genericFiltersInfo as $filter) {
            foreach ($filter[1] as $queryParamName => $queryParamInfo) {
                if (!isset($params[$queryParamName])) {
                    $params[$queryParamName] = null;
                }
            }
        }

        return Url::getCurrentQueryStringWithParametersModified($params);
    }
public static function getCurrentUrlWithoutGenericFilters($params)
    {
        // unset all filter query params so the related report will show up in its default state,
        // unless the filter param was in $queryParams
        $genericFiltersInfo = DataTableGenericFilter::getGenericFiltersInformation();
        foreach ($genericFiltersInfo as $filter) {
            foreach ($filter[1] as $queryParamName => $queryParamInfo) {
                if (!isset($params[$queryParamName])) {
                    $params[$queryParamName] = null;
                }
            }
        }

        return Url::getCurrentQueryStringWithParametersModified($params);
    }
public static function getCurrentUrlWithoutGenericFilters ( $ params ) { // unset all filter query params so the related report will show up in its default state, // unless the filter param was in $queryParams $ genericFiltersInfo = DataTableGenericFilter :: getGenericFiltersInformation ( ) ; foreach ( $ genericFiltersInfo as $ filter ) { foreach ( $ filter [ 1 ] as $ queryParamName => $ queryParamInfo ) { if ( ! isset ( $ params [ $ queryParamName ] ) ) { $ params [ $ queryParamName ] = null ; } } } return Url :: getCurrentQueryStringWithParametersModified ( $ params ) ; }
Returns the current URL without generic filter query parameters.

@param array $params Query parameter values to override in the new URL.
@return string
Returns the current URL without generic filter query parameters .