fix a bug where only 100 events would be requested in calendar view

This commit is contained in:
rolux 2011-10-10 12:52:53 +00:00
parent f1709ab3a5
commit a04fe0b36e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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({