From fdfceedb7d6ffd9ed51ee8c22bbaedaf185cb72c Mon Sep 17 00:00:00 2001 From: Nils Werner Date: Sun, 16 Nov 2014 14:34:54 +0100 Subject: [PATCH] Removed commit List User limit --- server/datastore/database/commit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/datastore/database/commit.go b/server/datastore/database/commit.go index 3ad6e2c37..ac743e69a 100644 --- a/server/datastore/database/commit.go +++ b/server/datastore/database/commit.go @@ -122,7 +122,7 @@ WHERE c.repo_id = r.repo_id AND r.repo_id = p.repo_id AND p.user_id = ? GROUP BY r.repo_id -) ORDER BY c.commit_created DESC LIMIT 5; +) ORDER BY c.commit_created DESC; ` // SQL query to retrieve the ungrouped, latest Commits @@ -144,7 +144,7 @@ LIMIT 20 const commitListQuery = ` SELECT * FROM commits -WHERE repo_id = ? +WHERE repo_id = ? ORDER BY commit_id DESC LIMIT 20 `