fix a bug where only 100 events would be requested in calendar view
This commit is contained in:
parent
f1709ab3a5
commit
a04fe0b36e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue