entities dialog: use sort name

This commit is contained in:
rolux 2014-12-16 17:43:10 +00:00
parent 34506d5b99
commit 3259811836

View file

@ -75,6 +75,11 @@ pandora.ui.entitiesDialog = function(options) {
operator: '+', operator: '+',
visible: true, visible: true,
width: 256 - Ox.SCROLLBAR_SIZE width: 256 - Ox.SCROLLBAR_SIZE
},
{
id: 'sortName',
title: 'Sort Name',
operator: '+'
} }
], ],
items: function(options, callback) { items: function(options, callback) {
@ -87,7 +92,7 @@ pandora.ui.entitiesDialog = function(options) {
} }
}), callback); }), callback);
}, },
sort: [{key: 'name', operator: '+'}], sort: [{key: 'sortName', operator: '+'}],
scrollbarVisible: true, scrollbarVisible: true,
unique: 'id', unique: 'id',
width: 256 - Ox.SCROLLBAR_SIZE width: 256 - Ox.SCROLLBAR_SIZE