Changeset - ddaddffcb7dc
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2010-11-22 19:00:11
marcin@python-works.com
added limit for user journal
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/journal.py
Show inline comments
 
@@ -58,12 +58,13 @@ class JournalController(BaseController):
 
        c.journal = self.sa.query(UserLog)\
 
            .filter(or_(
 
                        UserLog.repository_id.in_(repo_ids),
 
                        UserLog.user_id.in_(user_ids),
 
                        ))\
 
            .order_by(UserLog.action_date.desc())\
 
            .limit(20)\
 
            .all()
 
        return render('/journal.html')
 

	
 

	
 
    def toggle_following(self):
 

	
0 comments (0 inline, 0 general)