Patch #21583

Use association instead of a manual JOIN in Project#rolled_up_trackers

Added by Ondřej Ezr almost 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Code cleanup/refactoring
Target version:3.3.0

Description

It does not make sence to use custom join, where rails provided join will do.

project_nicer_trackers_query.diff Magnifier (789 Bytes) Ondřej Ezr, 2015-12-22 01:28

Associated revisions

Revision 15062
Added by Jean-Philippe Lang almost 2 years ago

Use association instead of a manual JOIN (#21583).

Patch by Ondřej.

History

#1 Updated by Go MAEDA almost 2 years ago

  • Category set to Code cleanup/refactoring

#2 Updated by Go MAEDA almost 2 years ago

  • Target version set to 3.3.0

The patch has passed all tests.

#3 Updated by Jean-Philippe Lang almost 2 years ago

  • Subject changed from Bit nicer query for project.rolled_up_trackers ? to Use association instead of a manual JOIN in Project#rolled_up_trackers
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

Also available in: Atom PDF