From d5f23decb23511012f00a76b4318248f5cccacb7 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 1 Mar 2011 23:36:52 +0000 Subject: Filter tabs ordered correctly git-svn-id: http://code.elgg.org/elgg/trunk@8552 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/layouts/content/filter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/views/default/page/layouts/content/filter.php b/views/default/page/layouts/content/filter.php index 649113f5f..0af293e24 100644 --- a/views/default/page/layouts/content/filter.php +++ b/views/default/page/layouts/content/filter.php @@ -26,16 +26,19 @@ if (elgg_is_logged_in() && $context) { 'text' => elgg_echo('all'), 'href' => (isset($vars['all_link'])) ? $vars['all_link'] : "pg/$context/all/", 'selected' => ($filter_context == 'all'), + 'priority' => 200, ), 'mine' => array( 'text' => elgg_echo('mine'), 'href' => (isset($vars['mine_link'])) ? $vars['mine_link'] : "pg/$context/owner/$username/", 'selected' => ($filter_context == 'mine'), + 'priority' => 300, ), 'friend' => array( 'text' => elgg_echo('friends'), 'href' => (isset($vars['friend_link'])) ? $vars['friend_link'] : "pg/$context/friends/$username/", 'selected' => ($filter_context == 'friends'), + 'priority' => 400, ), ); -- cgit v1.2.3