Project

General

Profile

Actions

Patch #29406

closed

Use sorted instead of sort

Added by Pavel Rosický over 6 years ago. Updated almost 6 years ago.

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

0%

Estimated time:

Description

using an order statement should be more effective because records are sorted in the database.

issue priorities on the issue's report page were originaly sorted by id (desc), but I think they should be sorted by position.


Files

projects_versions.patch (1.22 KB) projects_versions.patch Pavel Rosický, 2018-08-18 14:35
files_controller.rb.patch (323 Bytes) files_controller.rb.patch Pavel Rosický, 2018-08-18 14:35
reports_controller.rb.patch (886 Bytes) reports_controller.rb.patch Pavel Rosický, 2018-08-18 14:54
reports_controller.rb.patch (1.99 KB) reports_controller.rb.patch Pavel Rosický, 2018-08-18 15:08
reports_controller.rb.patch (1.86 KB) reports_controller.rb.patch Pavel Rosický, 2018-12-01 18:12
fix-29406.diff (3.5 KB) fix-29406.diff combined Pavel Rosický's three patches Go MAEDA, 2018-12-02 02:17
Actions

Also available in: Atom PDF