core icon indicating copy to clipboard operation
core copied to clipboard

Refactor `LocaleHelper::getLocales()`

Open I-Valchev opened this issue 4 years ago • 1 comments

The method is making too many things, including calls to the database, which slows down things like {{ record.title }}.

How can it be refactored? Can we do less there? Split into two different methods ⁉️

See #2597 for context.

I-Valchev avatar May 31 '21 08:05 I-Valchev

In an effort to keep our issue list manageable, we are marking this issue as stale because it has been 60 days without activity. If this issue is still relevant, please let us know by posting a quick comment so that it remains open.

github-actions[bot] avatar Dec 01 '25 07:12 github-actions[bot]