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',
|
for key in ('created', 'modified',
|
||||||
'name', 'alternativeNames',
|
'name', 'alternativeNames',
|
||||||
'start', 'end', 'duration',
|
'start', 'end', 'duration',
|
||||||
'startTime', 'endTime', 'durationTime',
|
|
||||||
'type', 'matches'):
|
'type', 'matches'):
|
||||||
j[key] = getattr(self, key)
|
j[key] = getattr(self, key)
|
||||||
j['nameSort'] = self.name_sort
|
j['nameSort'] = self.name_sort
|
||||||
|
|
|
@ -188,7 +188,8 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
||||||
pandora.api.findEvents({
|
pandora.api.findEvents({
|
||||||
itemQuery: ui.find,
|
itemQuery: ui.find,
|
||||||
keys: ['id', 'name', 'start', 'end'],
|
keys: ['id', 'name', 'start', 'end'],
|
||||||
query: {}
|
query: {},
|
||||||
|
range: [0, 1000000]
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
that.replaceElement(0,
|
that.replaceElement(0,
|
||||||
$element = Ox.Calendar({
|
$element = Ox.Calendar({
|
||||||
|
|
Loading…
Reference in a new issue