summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-06-06 09:41:07 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-06-06 09:41:07 -0700
commit17e40d559931e2b09a47780232dd80615b13abab (patch)
tree82e47f3541b1bc547c91ce55b5d18a3ff9c81bb9 /includes/theme.inc
parent1419cdeb3ad550d3ee647ddfc683ecce648ee6ee (diff)
downloadbrdo-17e40d559931e2b09a47780232dd80615b13abab.tar.gz
brdo-17e40d559931e2b09a47780232dd80615b13abab.tar.bz2
Issue #839634 by aaronott, jhodgdon, drunken monkey, rocket_nova, Berdir: Make documentation for table sorting match what the code does
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc4
1 files changed, 3 insertions, 1 deletions
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