From 7393e9ec47a85b58e7f157c367a175dbe035f4aa Mon Sep 17 00:00:00 2001 From: James Murty Date: Mon, 17 Oct 2016 16:34:54 +1100 Subject: [PATCH] Fix listing page method names reverted to old ones in ICEKit branch --- icekit_events/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/icekit_events/models.py b/icekit_events/models.py index 7c70906..6bb8cd5 100644 --- a/icekit_events/models.py +++ b/icekit_events/models.py @@ -759,11 +759,11 @@ class Meta: abstract = True verbose_name = "Event Listing" - def get_items_to_list(self, request): + def get_public_items(self, request): return Occurrence.objects.published()\ .filter(event__show_in_calendar=True) - def get_items_to_mount(self, request): + def get_visible_items(self, request): return Occurrence.objects.visible() @@ -789,11 +789,11 @@ def _occurrences_on_date(self, request): return Occurrence.objects.within(starts, ends) - def get_items_to_list(self, request): + def get_public_items(self, request): return self._occurrences_on_date(request).published()\ .filter(event__show_in_calendar=True) - def get_items_to_mount(self, request): + def get_visible_items(self, request): return self._occurrences_on_date(request).visible()