Actions
Bug #20887
closedspeed up function t3lib_BEfunc::selectVersionsOfRecord
Start date:
2009-08-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
problem:
when viewing the extended listview in the Backend, TYPO3 does 2 queries for each record to find out if it has versions. The first query fetches the currently displayed record again which is already present in the calling function.
solution:
traverse the current $row to function t3lib_BEfunc::selectVersionsOfRecord() and re-use it instead of fetching it from the DB
when displaying an extended list with 100 records this patch saves 100 queries from the ~800 which are executed, so don't expect to much from this patch ;-)
(issue imported from #M11722)
Files
Actions