-
Nicole Cordes authored
Nodes of the page tree are highlighted, if that particular node has versioned elements in the current workspace. However, this is determined by iterating over all tables and all records for each page. If having installed many extensions with many tables and many records, this will produce a lot of SQL queries. This patch introduces a new cache for record versions per page which is fetched once from the database. This cache is located within the \TYPO3\CMS\Workspaces\Service\WorkspaceService and can be shared between several other classes as this is implements a SingletonInterface. Resolves: #50349 Resolves: #66231 Related: #61184 Releases: master, 6.2 Change-Id: Ibaef07bdab87147c6826af8578870c52803dfe03 Reviewed-on: http://review.typo3.org/22528 Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Nicole Cordes <typo3@cordes.co> Tested-by: Nicole Cordes <typo3@cordes.co>
37cd2d50