From 94a80e1818523e491249a465074e36b3c939514c Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 30 Jun 2012 20:00:41 +0000 Subject: [PATCH] use pandora.getSortKeys --- static/js/pandora.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index d8a1baab..531091ae 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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) {