[BUGFIX] Fix shown references of files 86/15986/5
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:13:00 +0000 (19:13 +0100)
commit7ac01fe7c4b3c3eab14a2bbf39da399d6d0cc47e
tree77e55fbc41feb33158ba17343231b2336a729444
parentfa2cb038a38d1b0837e00e9c8f0f4367fde5f5f5
[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/15986
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