From a04fe0b36eef54bdf0b6bcaaeadb96a563538302 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 10 Oct 2011 12:52:53 +0000 Subject: [PATCH] fix a bug where only 100 events would be requested in calendar view --- pandora/event/models.py | 1 - static/js/pandora/ui/navigationView.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/event/models.py b/pandora/event/models.py index 8af6cb3f0..01df8736d 100644 --- a/pandora/event/models.py +++ b/pandora/event/models.py @@ -101,7 +101,6 @@ class Event(models.Model): for key in ('created', 'modified', 'name', 'alternativeNames', 'start', 'end', 'duration', - 'startTime', 'endTime', 'durationTime', 'type', 'matches'): j[key] = getattr(self, key) j['nameSort'] = self.name_sort diff --git a/static/js/pandora/ui/navigationView.js b/static/js/pandora/ui/navigationView.js index b9525f9ef..e15dd2a44 100644 --- a/static/js/pandora/ui/navigationView.js +++ b/static/js/pandora/ui/navigationView.js @@ -188,7 +188,8 @@ pandora.ui.navigationView = function(type, videoRatio) { pandora.api.findEvents({ itemQuery: ui.find, keys: ['id', 'name', 'start', 'end'], - query: {} + query: {}, + range: [0, 1000000] }, function(result) { that.replaceElement(0, $element = Ox.Calendar({