forked from 0x2620/pandora
use pandora.getSortKeys
This commit is contained in:
parent
4f0e536466
commit
94a80e1818
1 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue