Issue Task Closed

#52968Improve calls to the fileRepository

Georg Ringer 10/19/13, 10:07 updated 01/06/15, 21:02

Description

Currently the fileRepository is called for every possible relation which is quite an overhead.

As the field (e.g. media in pages) needs to have the count of relations inside, it should be checked if there is a value inside before trying to do a call to the database which will return no result anyways.

Reviews 1