Add arrow indicating sort order

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-02 21:10:47 +01:00
committed by Chris Morgan
parent e52f270498
commit ced9b16cae

View File

@@ -349,6 +349,9 @@ class TableRowSortable extends TableRow
$bAscending = FALSE; $bAscending = FALSE;
else else
$sSortVar = ''; $sSortVar = '';
$this->aTableCells[$i]->sCellContents .= $oSortInfo->bAscending ?
' ▲' : ' ▼';
} }
$sAscending = $bAscending == TRUE ? 'true': 'false'; $sAscending = $bAscending == TRUE ? 'true': 'false';