function theme_table_header_sortable_set_initial_sort

6.x theme_table_header_sortable_set_initial_sort($field, $dir)

Sets our initial sort, if there isn't already one set.

7 calls to theme_table_header_sortable_set_initial_sort()
admin_display_watchdog in modules/admin/admin.module
alerts_advisees_alerts_form in modules/alerts/alerts.module
Displays alerts for our various advisees.
alerts_display_advisee_activities_page in modules/alerts/alerts.module
Display all advisee activities since the beginning of time, thanks to pager query.
content_display_content_admin_list in modules/content/content.module
Display a list of content for the administrator
content_public_files_form in modules/content/content.module
This screen lets the user upload/manage/delete "public files" stored at custom/files/content_uploads/public_uploads/

... See full list


includes/, line 117


function theme_table_header_sortable_set_initial_sort($field, $dir) {

  if (@$_GET ['fsort'] == '') {
    $_GET ['fsort'] = $field;
    $_GET ['fsortdir'] = $dir;