Module: appdb Branch: master Commit: ced9b16cae17a38dac5d82aff4466e7794dd7c84 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=ced9b16cae17a38dac5d82aff...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Sun Dec 2 21:10:47 2007 +0100
Add arrow indicating sort order
---
include/table.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
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';