diff --git a/apps/amo/templates/amo/side_nav.html b/apps/amo/templates/amo/side_nav.html index fecba1c677..a63f1300d9 100644 --- a/apps/amo/templates/amo/side_nav.html +++ b/apps/amo/templates/amo/side_nav.html @@ -3,6 +3,7 @@ ('users', _('Most Popular')), ('rating', _('Top Rated')), ('created', _('Newest')), + ('featured', _('Featured')), ) %} {% elif addon_type == amo.ADDON_WEBAPP %} {% set extras = ( diff --git a/apps/browse/tests.py b/apps/browse/tests.py index 226b15e7cb..edf87659c5 100644 --- a/apps/browse/tests.py +++ b/apps/browse/tests.py @@ -364,7 +364,7 @@ class TestThemes(amo.tests.TestCase): def test_featured_sort(self): test_listing_sort(self, 'featured', reverse=False, - sel_class='extra-opt') + sel_class='opt') def test_downloads_sort(self): test_listing_sort(self, 'popular', 'weekly_downloads', diff --git a/apps/browse/views.py b/apps/browse/views.py index f5f4276fd4..9c55979e2a 100644 --- a/apps/browse/views.py +++ b/apps/browse/views.py @@ -64,9 +64,9 @@ class AddonFilter(BaseFilter): class ThemeFilter(AddonFilter): opts = (('users', _lazy(u'Most Users')), ('rating', _lazy(u'Top Rated')), - ('created', _lazy(u'Newest'))) + ('created', _lazy(u'Newest')), + ('featured', _lazy(u'Featured'))) extras = (('name', _lazy(u'Name')), - ('featured', _lazy(u'Featured')), ('popular', _lazy(u'Weekly Downloads')), ('updated', _lazy(u'Recently Updated')), ('hotness', _lazy(u'Up & Coming')))