Mercurial > libervia-web
diff src/browser/sat_browser/blog.py @ 705:531eacb82e9f
browser and server sides: renamed max to max_ after sat's changeset 1423 (882e5fabf68c)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 04 Jun 2015 12:03:45 +0200 |
parents | 82123705474b |
children | d75935e2b279 |
line wrap: on
line diff
--- a/src/browser/sat_browser/blog.py Thu Jun 04 12:39:27 2015 +0200 +++ b/src/browser/sat_browser/blog.py Thu Jun 04 12:03:45 2015 +0200 @@ -479,7 +479,7 @@ @param main_entry (MicroblogEntry): main entry having comments. """ index = str(main_entry.comments_count - main_entry.hidden_count) - rsm = {'max': str(main_entry.hidden_count), 'index': index} + rsm = {'max_': str(main_entry.hidden_count), 'index': index} self.host.bridge.call('getMblogComments', self.mblogsInsert, main_entry.comments_service, main_entry.comments_node, rsm) def loadMoreMainEntries(self): @@ -491,7 +491,7 @@ self.host.loadOurMainEntries(self.next_rsm_index, self) type_ = 'ALL' if self.accepted_groups == [] else 'GROUP' - rsm = {'max': str(C.RSM_MAX_ITEMS), 'index': str(self.next_rsm_index)} + rsm = {'max_': str(C.RSM_MAX_ITEMS), 'index': str(self.next_rsm_index)} self.host.bridge.getMassiveMblogs(type_, list(self.accepted_groups), rsm, profile=C.PROF_KEY_NONE, callback=self.massiveInsert) def getWarningData(self, comment):