From 1fa03d7c33f30a57eb9051e5d979f41178bbcefa Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 22 Oct 2008 03:36:47 +0000 Subject: [PATCH] #310144 by dvessel: Clarify sort parameter in theme_table() documentation. --- includes/theme.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/theme.inc b/includes/theme.inc index 99e520ba42d2..b76a1b4bc3dc 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1224,7 +1224,9 @@ function theme_submenu($links) { * - "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"). This + * depends on tablesort_sql() appending sort data when forming queries + * before being passed to theme_table(). * - Any HTML attributes, such as "colspan", to apply to the column header cell. * @param $rows * An array of table rows. Every row is an array of cells, or an associative