mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 11:18:51 +01:00
Apply lrbalt's patch to cleanup a couple of stats issues. Fixes #558 and #559. Thanks Rob and lrbalt!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@591 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
6e0e02714f
commit
b450d1026d
4 changed files with 1 additions and 48 deletions
|
|
@ -477,7 +477,7 @@ class StatsController < ApplicationController
|
|||
" datediff(now(), t.completed_at) < 30) "+
|
||||
"AND p.user_id="+@user.id.to_s+" "+
|
||||
"GROUP BY p.id "+
|
||||
"ORDER BY count DESC" +
|
||||
"ORDER BY count DESC " +
|
||||
"LIMIT 10"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue