Merge pull request #707 from nils-werner/nolimit

Removed commit List User limit
This commit is contained in:
Brad Rydzewski 2014-11-17 11:40:53 -08:00
commit 977b64688e

View File

@ -122,7 +122,7 @@ WHERE c.repo_id = r.repo_id
AND r.repo_id = p.repo_id AND r.repo_id = p.repo_id
AND p.user_id = ? AND p.user_id = ?
GROUP BY r.repo_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 // SQL query to retrieve the ungrouped, latest Commits
@ -144,7 +144,7 @@ LIMIT 20
const commitListQuery = ` const commitListQuery = `
SELECT * SELECT *
FROM commits FROM commits
WHERE repo_id = ? WHERE repo_id = ?
ORDER BY commit_id DESC ORDER BY commit_id DESC
LIMIT 20 LIMIT 20
` `