mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
9771d97e1f
Iterating over an array of locales and querying for each one causes tons of unnecessary queries. This is especially evident when you get up to hundreds of translations of a page. It makes the CMS admin UI insufferably slow. This is a little tweak to query for all of them at once instead of individually. |
||
---|---|---|
.. | ||
Translatable.php |