function tablesort_get_query_parameters

Same name in other branches
  1. 8.9.x core/includes/tablesort.inc \tablesort_get_query_parameters()

Composes a URL query parameter array for table sorting links.

Return value

A URL query parameter array that consists of all components of the current page request except for those pertaining to table sorting.

2 calls to tablesort_get_query_parameters()
TableSort::getQueryParameters in includes/tablesort.inc
Compose a URL query parameter array to append to table sorting requests.
tablesort_init in includes/tablesort.inc
Initialize the table sort context.

File

includes/tablesort.inc, line 189

Code

function tablesort_get_query_parameters() {
    return drupal_get_query_parameters($_GET, array(
        'q',
        'sort',
        'order',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.