[BUGFIX] EM locallist, grouping with author
authorSteffen Kamper <info@sk-typo3.de>
Mon, 7 Mar 2011 16:51:36 +0000 (17:51 +0100)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 21 Mar 2011 22:05:51 +0000 (23:05 +0100)
When grouping with author you may see many groups with same author. This happens
if author of extensions is there with different email adresses.
Further author with email is clickable which is not useful in group header.

Solution:
use simple groupRenderer that returns author only.

Change-Id: If7084c124089eadd3e0ec8def196eb2d349024d8
Resolves: #M17887
Reviewed-on: http://review.typo3.org/1228
Reviewed-by: Steffen Kamper <info@sk-typo3.de>
Tested-by: Steffen Kamper <info@sk-typo3.de>
typo3/sysext/em/res/js/em_components.js

index 50c168b..7597ac9 100644 (file)
@@ -354,6 +354,9 @@ TYPO3.EM.GridColumns.ExtensionAuthor = {
                } else {
                        return t;
                }
+       },
+       groupRenderer: function(value) {
+               return value;
        }
 };
 
@@ -893,4 +896,4 @@ TYPO3.EM.ExtensionUploadWindow = Ext.extend(Ext.Window, {
                });
                TYPO3.EM.ExtensionUploadWindow.superclass.constructor.call(this, config);
        }
-});
\ No newline at end of file
+});