places backend, cleanup padma metadata
This commit is contained in:
parent
44d4479a00
commit
bf518ae603
9 changed files with 137 additions and 87 deletions
|
|
@ -64,7 +64,8 @@ pandora.ui.clipList = function(videoRatio) {
|
|||
// if the item query contains a layer condition,
|
||||
// then this condition is added to the clip query
|
||||
itemsQuery.conditions.forEach(function(condition) {
|
||||
if (Ox.getIndexById(pandora.site.layers, condition.key) > -1) {
|
||||
if (condition.key == 'annotations'
|
||||
|| Ox.getIndexById(pandora.site.layers, condition.key) > -1) {
|
||||
query.conditions.push(condition);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -839,7 +839,8 @@ pandora.isClipView = function(view, item) {
|
|||
|
||||
pandora.isItemFind = function(find) {
|
||||
return find.conditions.length == 1
|
||||
&& Ox.getIndexById(pandora.site.layers, find.conditions[0].key) > -1
|
||||
&& (find.conditions[0].key == 'annotations'
|
||||
||Ox.getIndexById(pandora.site.layers, find.conditions[0].key) > -1)
|
||||
&& find.conditions[0].operator == '=';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue