diff --git a/tabellio/agenda/folder.py b/tabellio/agenda/folder.py index cd3e6db..7582569 100644 --- a/tabellio/agenda/folder.py +++ b/tabellio/agenda/folder.py @@ -77,8 +77,8 @@ class View(grok.View, utils.MonthlyView): return self.updated def getYearAndMonthToDisplay(self): - year = self.request.form.get('year') or self.now[0] - month = self.request.form.get('month') or self.now[1] + year = self.request.form.get('navyear') or self.now[0] + month = self.request.form.get('navmonth') or self.now[1] year, month = int(year), int(month) return year, month diff --git a/tabellio/agenda/folder_templates/view.pt b/tabellio/agenda/folder_templates/view.pt index d21c666..750d805 100644 --- a/tabellio/agenda/folder_templates/view.pt +++ b/tabellio/agenda/folder_templates/view.pt @@ -24,7 +24,7 @@