get all matches
This commit is contained in:
parent
f2e7cdbea8
commit
0147b56d69
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ pandora.ui.addItemDialog = function(options) {
|
|||
// FIXME: what about pending/aborted uploads
|
||||
pandora.api.findMedia({
|
||||
keys: ['id', 'item', 'url'],
|
||||
range: [0, items.length],
|
||||
query: {
|
||||
conditions: selected == 'upload' ? items.map(function(item) {
|
||||
return {key: 'oshash', operator: '==', value: item.oshash};
|
||||
|
|
Loading…
Reference in a new issue