Actions
Patch #10916
closedOptimisation in issues relations display
Patch #10916:
Optimisation in issues relations display
Description
In the relations loop some variables are recalculated too many times
Files
Actions
Added by Jérôme BATAILLE over 14 years ago. Updated over 9 years ago.
Description
In the relations loop some variables are recalculated too many times
Files
| app_views_issues_relations.rhtml_2012-05-14.diff (2.31 KB) app_views_issues_relations.rhtml_2012-05-14.diff | Jérôme BATAILLE, 2012-05-14 18:23 |
Setting.blah is already cached in an Setting's class variable. The other optimization might be relevant, it would save some == calls and conditions..
Do you want us to bring a new patch taking in accound your remark ?
Variable named other_issue added to store relation.other_issue(@issue) as proposed in the patch, thanks.
Hi, you can indicate in the Resolution that's it's Fixed, if you have the time to, thanks a lot.
Jérôme BATAILLE wrote:
Hi, you can indicate in the Resolution that's it's Fixed, if you have the time to, thanks a lot.
"patch" tracker does not have "resolution" filed.