From ced9b16cae17a38dac5d82aff4466e7794dd7c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 2 Dec 2007 21:10:47 +0100 Subject: [PATCH] Add arrow indicating sort order --- include/table.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/table.php b/include/table.php index a2d413b..1558824 100644 --- a/include/table.php +++ b/include/table.php @@ -349,6 +349,9 @@ class TableRowSortable extends TableRow $bAscending = FALSE; else $sSortVar = ''; + + $this->aTableCells[$i]->sCellContents .= $oSortInfo->bAscending ? + ' ▲' : ' ▼'; } $sAscending = $bAscending == TRUE ? 'true': 'false';