diff --git a/static/js/pandora/sortSelect.js b/static/js/pandora/sortSelect.js index 6ad056cc3..d29ac8d06 100644 --- a/static/js/pandora/sortSelect.js +++ b/static/js/pandora/sortSelect.js @@ -18,7 +18,8 @@ pandora.ui.sortSelect = function(isNavigationView) { pandora.site.sortKeys.filter(function(key) { return Ox.getIndexById(items, key.id) == -1 && ( !key.capability - || pandora.site.capabilities[key.capability][pandora.user.level]; + || pandora.site.capabilities[key.capability][pandora.user.level] + ); }).map(function(key) { return Ox.extend(Ox.clone(key), { title: 'Sort by ' + key.title