get all matches

This commit is contained in:
j 2019-07-29 12:27:32 +02:00
parent f2e7cdbea8
commit 0147b56d69

View file

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