# HG changeset patch # User Paul Boddie # Date 1360002012 -3600 # Node ID 398454f2163f208c51304a0a390f299765d1a820 # Parent 6c4df1436509707a44836e5939252c7f16b3f66c Fixed resolution details in view mode links, also preserving unset "wider" calendar limits. diff -r 6c4df1436509 -r 398454f2163f EventAggregatorSupport.py --- a/EventAggregatorSupport.py Mon Feb 04 18:54:21 2013 +0100 +++ b/EventAggregatorSupport.py Mon Feb 04 19:20:12 2013 +0100 @@ -1769,24 +1769,24 @@ specific_start = self.calendar_start specific_end = self.calendar_end - start = self.wider_calendar_start or specific_start - end = self.wider_calendar_end or specific_end + start = self.wider_calendar_start or self.original_calendar_start and specific_start + end = self.wider_calendar_end or self.original_calendar_end and specific_end help_page = Page(request, "HelpOnEventAggregator") calendar_link = self.getNavigationLink(start and start.as_month(), end and end.as_month(), "calendar", "month") calendar_update_link = self.getUpdateLink(start and start.as_month(), end and end.as_month(), "calendar", "month") - list_link = self.getNavigationLink(start, end, "list") - list_update_link = self.getUpdateLink(start, end, "list") - table_link = self.getNavigationLink(start, end, "table") - table_update_link = self.getUpdateLink(start, end, "table") - map_link = self.getNavigationLink(start, end, "map") - map_update_link = self.getUpdateLink(start, end, "map") + list_link = self.getNavigationLink(start, end, "list", "month") + list_update_link = self.getUpdateLink(start, end, "list", "month") + table_link = self.getNavigationLink(start, end, "table", "month") + table_update_link = self.getUpdateLink(start, end, "table", "month") + map_link = self.getNavigationLink(start, end, "map", "month") + map_update_link = self.getUpdateLink(start, end, "map", "month") # Specific links permit date-level navigation. - specific_day_link = self.getNavigationLink(specific_start, specific_end, "day", "date", wider_start=start, wider_end=end) - specific_day_update_link = self.getUpdateLink(specific_start, specific_end, "day", "date", wider_start=start, wider_end=end) + specific_day_link = self.getNavigationLink(specific_start, specific_end, "day", wider_start=start, wider_end=end) + specific_day_update_link = self.getUpdateLink(specific_start, specific_end, "day", wider_start=start, wider_end=end) specific_list_link = self.getNavigationLink(specific_start, specific_end, "list", wider_start=start, wider_end=end) specific_list_update_link = self.getUpdateLink(specific_start, specific_end, "list", wider_start=start, wider_end=end) specific_table_link = self.getNavigationLink(specific_start, specific_end, "table", wider_start=start, wider_end=end)