diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-07-02 13:27:02 +0000 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2015-07-02 13:27:02 +0000 |
commit | d2f903c2d077fec1efbbe014b09fd576ccb268ec (patch) | |
tree | 7231f785549a798c462a2b348370b3171c9afd33 /lib | |
parent | 7c42aaa5763e6028e6c004fa7f90a3c9b2d27ccc (diff) | |
parent | 63a4dd53920882cf993459b3483d70073e75fae0 (diff) | |
download | gitlab-ce-d2f903c2d077fec1efbbe014b09fd576ccb268ec.tar.gz |
Merge branch 'feature/recent_order' into 'master'
'created_at DESC' is performed twice
If you are already sorting in descending order in the created_at, it is run twice when you run the .recent.
It has passed in the string 'created_at DESC'.
Ruby on Rails is directly given to the SQL.
It is a slow query in MySQL.
See merge request !825
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions