use pandora.getSortKeys

This commit is contained in:
rolux 2012-06-30 20:00:41 +00:00
parent 4f0e536466
commit 94a80e1818

View file

@ -276,13 +276,7 @@ appPanel
{id: 'featured', title: 'Featured Texts', showBrowser: false}
]
},
sortKeys: pandora.site.itemKeys.filter(function(key) {
return key.sort;
}).map(function(key) {
return Ox.extend(key, {
operator: pandora.getSortOperator(key.id)
});
})
sortKeys: pandora.getSortKeys()
});
pandora.site.listSettings = {};
Ox.forEach(pandora.site.user.ui, function(val, key) {