Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Fix listing page method names reverted to old ones in ICEKit branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurty committed Oct 17, 2016
1 parent 8e7a3d7 commit 7393e9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions icekit_events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand All @@ -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()


Expand Down

0 comments on commit 7393e9e

Please sign in to comment.