Project

General

Profile

Actions

Defect #33381

closed

Possible double includes in issue query in gantt helper

Added by Felix Schäfer almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gantt
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The following include line source:/tags/3.4.0/lib/redmine/helpers/gantt.rb#L141 should not be needed anymore as per r16221. It will not cause any problems currently, but should for example the sort options include any of the included relations, this might lead to ambiguous names in the JOIN statement/double JOIN statements leading to an error in the sorting.

This affects all versions since 3.4.0


Files

33381.patch (527 Bytes) 33381.patch Go MAEDA, 2020-06-22 08:14

Related issues

Related to Redmine - Patch #24865: Load associations of query results more efficientlyClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF