[BUGFIX] Fix shown references of files 00/17400/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 28 Oct 2012 12:19:08 +0000 (13:19 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 6 Jan 2013 18:14:20 +0000 (19:14 +0100)
commit8f826f59038f1c6563e4ee239433564eaab89eb0
tree3ba8ed2e42b6fc1b00fbb189f3674b975f34d3dc
parentda29f0cf7b7d8248efaec74ee61ab31ade893ff4
[BUGFIX] Fix shown references of files

Currently the references of files are only fetched from
the sys_file_reference table. This does not take all direct
references and soft references into account.

Besides that, the count shown in the list is taken from the
count of tooltip hints instead of real references.

Fix both issues with this change.

Fixes: #42453
Releases: 6.1, 6.0
Change-Id: I82995896b5d62ee8df7baa175a752a6a25ce9c24
Reviewed-on: https://review.typo3.org/17400
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php
typo3/sysext/filelist/Classes/FileList.php