[TYPO3-core] RFC #12025: Make statuses in the status report sort alphabetical and grouped

Rupert Germann rupi at gmx.li
Mon Sep 21 21:36:30 CEST 2009


Susanne Moog schrieb:
>> Solution:
> Group by statusProvider and sort statuses alphabetically.
> 
> *scratch*
> 
> Please feel free to criticize as I'm not that good with PHP.

line 96 in class tx_reports_reports_Status:

$providerLabel = $GLOBALS['LANG']->getLL('status_' . $provider) ? 
$GLOBALS['LANG']->getLL('status_' . $provider) : $provider;

I'd do it like this:
$providerLabel = $GLOBALS['LANG']->getLL('status_' . $provider);
$providerLabel = $providerLabel ? $providerLabel : $provider;

besides this
+1 by reading and testing

and thanks for this pro-active reaction ;-)

greets
rupert


More information about the TYPO3-team-core mailing list