diff --git a/static/js/addItemDialog.js b/static/js/addItemDialog.js index 71361fda..d41a9ed3 100644 --- a/static/js/addItemDialog.js +++ b/static/js/addItemDialog.js @@ -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};