This commit is contained in:
rolux 2015-04-20 10:13:56 +02:00
commit c6c2a425cc
16 changed files with 224 additions and 73 deletions

View file

@ -18,8 +18,16 @@ pandora.ui.namesDialog = function() {
change: function(data) {
var query = {
conditions: [
{key: 'name', value: data.value, operator: '='},
{key: 'sortname', value: data.value, operator: '='}
{
key: 'name',
operator: '=',
value: data.value
},
{
key: 'sortname',
operator: '=',
value: data.value
}
],
operator: '|'
};
@ -103,7 +111,9 @@ pandora.ui.namesDialog = function() {
pandora.UI.set({find: {
conditions: [{
key: 'name',
value: $list.value($list.options('selected'), 'name'),
value: $list.value(
$list.options('selected'), 'name'
),
operator: '='
}],
operator: '&'
@ -188,4 +198,3 @@ pandora.ui.namesDialog = function() {
return that;
};