dont overwrite query with empty query

This commit is contained in:
j 2012-06-20 19:40:52 +02:00
parent 285b4faef0
commit 1dec240e0f

View file

@ -93,10 +93,10 @@ pandora.ui.clipList = function(videoRatio) {
operator: '&'
};
}
pandora.api.findClips(Ox.extend({
pandora.api.findClips(Ox.extend(data, {
itemsQuery: itemsQuery,
query: query
}, data), callback);
}), callback);
},
keys: ['annotations', 'id', 'in', 'out'].concat(
!ui.item ? ['videoRatio'] : []