[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:03:46 +0000 (23:03 +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.

 Resolves: #M17887

Change-Id: Ia23082498fca61db975ff02eaf335578180315ea
Reviewed-on: http://review.typo3.org/1081
Reviewed-by: Björn Pedersen <bjoern.pedersen@frm2.tum.de>
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
+});