Skip to content
Snippets Groups Projects
Commit d2f903c2 authored by Hannes Rosenögger's avatar Hannes Rosenögger
Browse files

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
parents 7c42aaa5 63a4dd53
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment