aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/all.php2
-rw-r--r--mod/groups/views/default/groups/group_sort_menu.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 2bf22a20a..9e19fce09 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -16,7 +16,7 @@
$filter = get_input("filter");
if (!$filter) {
// active discussions is the default
- $filter = "active";
+ $filter = "newest";
}
$context = get_context();
diff --git a/mod/groups/views/default/groups/group_sort_menu.php b/mod/groups/views/default/groups/group_sort_menu.php
index 66569ba1e..63af0dc07 100644
--- a/mod/groups/views/default/groups/group_sort_menu.php
+++ b/mod/groups/views/default/groups/group_sort_menu.php
@@ -17,8 +17,8 @@
<div class="elgg_horizontal_tabbed_nav margin_top">
<div class="group_count"><?php echo $num_groups . " " . elgg_echo("groups:count"); ?></div>
<ul>
- <li <?php if($filter == "active") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=active"><?php echo elgg_echo('groups:latestdiscussion'); ?></a></li>
<li <?php if($filter == "newest") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=newest"><?php echo elgg_echo('groups:newest'); ?></a></li>
<li <?php if($filter == "pop") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=pop"><?php echo elgg_echo('groups:popular'); ?></a></li>
+ <li <?php if($filter == "active") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=active"><?php echo elgg_echo('groups:latestdiscussion'); ?></a></li>
</ul>
</div>