fix find in icon editor for texts
This commit is contained in:
parent
40d6b927e6
commit
733c7c5c5f
1 changed files with 7 additions and 2 deletions
|
@ -568,8 +568,13 @@ pandora.ui.listIconPanel = function(listData) {
|
|||
items: function(data, callback) {
|
||||
pandora.api.find(Ox.extend(data, {
|
||||
query: {
|
||||
conditions: [{key: 'list', value: listData.id, operator: '=='}].concat(
|
||||
value !== '' ? [{key: key, value: value, operator: '='}] : []
|
||||
conditions: (
|
||||
ui.section == 'items'
|
||||
? [{key: 'list', value: listData.id, operator: '=='}]
|
||||
: []).concat(
|
||||
value !== ''
|
||||
? [{key: key, value: value, operator: '='}]
|
||||
: []
|
||||
),
|
||||
operator: '&'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue