From 17e40d559931e2b09a47780232dd80615b13abab Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Thu, 6 Jun 2013 09:41:07 -0700 Subject: Issue #839634 by aaronott, jhodgdon, drunken monkey, rocket_nova, Berdir: Make documentation for table sorting match what the code does --- includes/theme.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index 9f93d2004..f80757e6e 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1819,7 +1819,9 @@ function theme_breadcrumb($variables) { * - "data": The localized title of the table column. * - "field": The database field represented in the table column (required * if user is to be able to sort on this column). - * - "sort": A default sort order for this column ("asc" or "desc"). + * - "sort": A default sort order for this column ("asc" or "desc"). Only + * one column should be given a default sort order because table sorting + * only applies to one column at a time. * - Any HTML attributes, such as "colspan", to apply to the column header * cell. * - rows: An array of table rows. Every row is an array of cells, or an -- cgit v1.2.3