diff rhodecode/controllers/changelog.py @ 2520:a1e156503afe beta

Fixed calls to Session in db model - added inject_ui method that should be later used for all injections of extra parameters into ui - fixed naming conflict of `comments` functions and relationship that had the same name
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 01 Jul 2012 02:44:23 +0200
parents 91fae60bf2b6
children 4548912f48c8
line wrap: on
line diff
--- a/rhodecode/controllers/changelog.py	Sat Jun 30 23:32:52 2012 +0200
+++ b/rhodecode/controllers/changelog.py	Sun Jul 01 02:44:23 2012 +0200
@@ -81,7 +81,7 @@
                                     items_per_page=c.size, branch=branch_name)
             collection = list(c.pagination)
             page_revisions = [x.raw_id for x in collection]
-            c.comments = c.rhodecode_db_repo.comments(page_revisions)
+            c.comments = c.rhodecode_db_repo.get_comments(page_revisions)
             c.statuses = c.rhodecode_db_repo.statuses(page_revisions)
         except (RepositoryError, ChangesetDoesNotExistError, Exception), e:
             log.error(traceback.format_exc())