diff --git a/static/js/editDialog.js b/static/js/editDialog.js index 1b3aebf..6f6b201 100644 --- a/static/js/editDialog.js +++ b/static/js/editDialog.js @@ -77,15 +77,16 @@ oml.ui.editDialog = function() { oml.api.find({ keys: keys, query: { - conditions: ids.map(function(id) { - return { + conditions: [ + { key: 'id', - operator: '==', - value: id - }; - }), - operator: '|' - } + operator: '&', + value: ids + } + ], + operator: '&' + }, + range: [0, ids.length] }, function(result) { var data = {}, isMixed = {},