[BUGFIX] List module shows thumbs on CEs of type text 73/19573/2
authorMario Rimann <mario.rimann@typo3.org>
Wed, 20 Mar 2013 22:29:31 +0000 (23:29 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 5 Apr 2013 13:32:09 +0000 (15:32 +0200)
commit7765942bdef2ec25c3f69e6867266b2b3224cb0c
tree11bdf2a830ed11602cf632c34dc4ab5ed27fd4e0
parentf3e5fff3a7ed9fdaef9c8c71b7e01f7885173de2
[BUGFIX] List module shows thumbs on CEs of type text

The list module renders a thumbnail for content elements as soon
as they have an image attached - independent of the current type
of the content element.

This patch changes the behavior, so that the thumbnail for
records in the list view are only shown, if the thumbnail-
column is visible for the current type.

Change-Id: Id59d7816f91bd37f49f794827826fca1929f7d0a
Resolves: #26753
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19573
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php