forked from 0x2620/pandora
fix icon find
This commit is contained in:
parent
65c182f410
commit
2a1b4ece6b
1 changed files with 3 additions and 1 deletions
|
@ -619,12 +619,14 @@ pandora.ui.listIconPanel = function(listData) {
|
||||||
pandora.api.find(Ox.extend(data, {
|
pandora.api.find(Ox.extend(data, {
|
||||||
query: {
|
query: {
|
||||||
conditions: (
|
conditions: (
|
||||||
Ox.contains(pandora.site.listSections, ui.section)
|
ui.section == 'items'
|
||||||
? [{key: 'list', value: listData.id, operator: '=='}]
|
? [{key: 'list', value: listData.id, operator: '=='}]
|
||||||
: []).concat(
|
: []).concat(
|
||||||
value !== ''
|
value !== ''
|
||||||
? [{key: key, value: value, operator: '='}]
|
? [{key: key, value: value, operator: '='}]
|
||||||
: []
|
: []
|
||||||
|
).concat(
|
||||||
|
[{key: 'duration', value: '00:00:00', operator: '>'}]
|
||||||
),
|
),
|
||||||
operator: '&'
|
operator: '&'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue