diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index 49a0acb77..60dfdd585 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -262,9 +262,9 @@ pandora.URL = (function() { // itemView is the default view, // videoView is the default view if there is a duration [pandora.user.ui.itemView, pandora.user.ui.videoView], - pandora.site.itemViews.map(function(view) { + Ox.map(pandora.site.itemViews, function(view) { return [ - 'info', pandora.user.ui.videoView + pandora.user.ui.itemView, pandora.user.ui.videoView ].indexOf(view.id) > -1 ? null : view.id; }) ) diff --git a/static/js/pandora/ui/viewSelect.js b/static/js/pandora/ui/viewSelect.js index 2c2472023..2398142ab 100644 --- a/static/js/pandora/ui/viewSelect.js +++ b/static/js/pandora/ui/viewSelect.js @@ -32,7 +32,7 @@ pandora.ui.viewSelect = function() { if (pandora.isClipView(key)) { // ... to a clip view, set listSelection to empty set.listSelection = []; - } else if (['title', 'position'].indexOf(ui.listSort[0].key) > -1) { + } else if (['text', 'position'].indexOf(ui.listSort[0].key) > -1) { // ... to a non-clip view, with a sort key that only exists // in clip views, reset listSort to the default listSort set.listSort = pandora.site.user.ui.listSort;