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

@ -16,8 +16,16 @@ pandora.ui.titlesDialog = function() {
change: function(data) {
var query = {
conditions: [
{key: 'title', value: data.value, operator: '='},
{key: 'sorttitle', value: data.value, operator: '='}
{
key: 'title',
operator: '=',
value: data.value
},
{
key: 'sorttitle',
operator: '=',
value: data.value
}
],
operator: '|'
};
@ -92,7 +100,9 @@ pandora.ui.titlesDialog = function() {
pandora.UI.set({find: {
conditions: [{
key: 'title',
value: $list.value($list.options('selected'), 'title'),
value: $list.value(
$list.options('selected'), 'title'
),
operator: '='
}],
operator: '&'