fix name duplicating Foo [2] fixes #535
copy all items not just first 100 duplicating a static list
This commit is contained in:
parent
69cbee4bd5
commit
80cb9c8faf
2 changed files with 11 additions and 7 deletions
|
|
@ -46,17 +46,18 @@ pandora.addList = function() {
|
|||
pandora.api.find({
|
||||
query: query,
|
||||
keys: ['id'],
|
||||
sort: [{key: 'id', operator: ''}]
|
||||
sort: [{key: 'id', operator: ''}],
|
||||
range: [0, result.data.items]
|
||||
}, function(result) {
|
||||
var items = result.data.items.map(function(item) {
|
||||
return item.id;
|
||||
});
|
||||
addList(items);
|
||||
})
|
||||
});
|
||||
} else {
|
||||
addList();
|
||||
}
|
||||
})
|
||||
});
|
||||
} else {
|
||||
addList();
|
||||
}
|
||||
|
|
@ -69,7 +70,7 @@ pandora.addList = function() {
|
|||
items: items
|
||||
}, function() {
|
||||
getPosterFrames(newList);
|
||||
})
|
||||
});
|
||||
} else {
|
||||
getPosterFrames(newList);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue