fix find in list icon selector
This commit is contained in:
parent
91f2c6fe35
commit
9aff249881
1 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ pandora.ui.listDialog = function(section) {
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
pandora.$ui.findIconItemInput = Ox.Input({
|
pandora.$ui.findIconItemInput = Ox.Input({
|
||||||
//changeOnKeypress: true,
|
changeOnKeypress: true,
|
||||||
clear: true,
|
clear: true,
|
||||||
placeholder: 'Find: All',
|
placeholder: 'Find: All',
|
||||||
width: 128 + Ox.UI.SCROLLBAR_SIZE
|
width: 128 + Ox.UI.SCROLLBAR_SIZE
|
||||||
|
@ -491,10 +491,10 @@ pandora.ui.listIconPanel = function(listData) {
|
||||||
items: function(data, callback) {
|
items: function(data, callback) {
|
||||||
pandora.api.find(Ox.extend(data, {
|
pandora.api.find(Ox.extend(data, {
|
||||||
query: {
|
query: {
|
||||||
conditions: [
|
conditions: Ox.merge(
|
||||||
{key: 'list', value: listData.id, operator: '=='},
|
[{key: 'list', value: listData.id, operator: '=='}],
|
||||||
{key: key, value: value, operator: '='}
|
value !== '' ? [{key: key, value: value, operator: '='}] : []
|
||||||
],
|
),
|
||||||
operator: '&'
|
operator: '&'
|
||||||
}
|
}
|
||||||
}), callback);
|
}), callback);
|
||||||
|
|
Loading…
Reference in a new issue