https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292016-12-12T18:32:48ZRedmineRedmine - Patch #24587: Improve custom fields list performancehttps://www.redmine.org/issues/24587?journal_id=750142016-12-12T18:32:48ZPavel Rosický
<ul></ul><p>what about a counter cache? custom_field.projects_count?</p> Redmine - Patch #24587: Improve custom fields list performancehttps://www.redmine.org/issues/24587?journal_id=750202016-12-13T19:50:04ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> set to <i>3.4.0</i></li></ul><p>Patch committed with a slight change to handle the case where there are 0 projects that use the field.</p>
<blockquote>
<p>what about a counter cache? custom_field.projects_count?</p>
</blockquote>
<p>Adding a cache counter for that seems a bit overkill to me.</p>