[BUGFIX] Show tooltips in the recordlist 36/59336/2
authorGuido Schmechel <guido.schmechel@brandung.de>
Sat, 5 Jan 2019 07:52:29 +0000 (08:52 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 6 Jan 2019 12:50:28 +0000 (13:50 +0100)
If a recordlist title do not need to be converted for
output, then the original title will be taken for the
tooltip and added to a span tag.

Resolves: #87326
Releases: master, 9.5
Change-Id: I58fbf9ceadf191eaafc5430ce4d09adeb27c789f
Reviewed-on: https://review.typo3.org/59336
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 1ad5312..591f94e 100644 (file)
@@ -3647,6 +3647,8 @@ class DatabaseRecordList
                         'UTF-8',
                         false
                     ) . '">' . $code . '</span>';
+            } else {
+                $code = '<span title="' . $code . '">' . $code . '</span>';
             }
         }
         switch ((string)$this->clickTitleMode) {