aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard McGirr <rmcgirr83@gmail.com>2015-10-26 06:31:39 -0400
committerRichard McGirr <rmcgirr83@gmail.com>2015-10-26 06:42:33 -0400
commitc1d47d9e169075c33ffb223af7000a7a81fc86bd (patch)
tree2f5ed271f5a5eb151a731a3c4e98bc8c1525c789 /phpBB/memberlist.php
parent[ticket/14242] Fix memberlist sort method (diff)
downloadphpbb-c1d47d9e169075c33ffb223af7000a7a81fc86bd.tar.gz
phpbb-c1d47d9e169075c33ffb223af7000a7a81fc86bd.tar.bz2
phpbb-c1d47d9e169075c33ffb223af7000a7a81fc86bd.zip
[ticket/14242] Fix u_sort_posts to use correct sort key
PHPBB3-14242
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index b126796446..5591670612 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -1572,7 +1572,7 @@ switch ($mode)
'U_LIVE_SEARCH' => ($config['allow_live_searches']) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=livesearch') : false,
'U_SORT_USERNAME' => $sort_url . '&amp;sk=a&amp;sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'),
'U_SORT_JOINED' => $sort_url . '&amp;sk=c&amp;sd=' . (($sort_key == 'c' && $sort_dir == 'd') ? 'a' : 'd'),
- 'U_SORT_POSTS' => $sort_url . '&amp;sk=a&amp;sd=' . (($sort_key == 'a' && $sort_dir == 'd') ? 'a' : 'd'),
+ 'U_SORT_POSTS' => $sort_url . '&amp;sk=d&amp;sd=' . (($sort_key == 'd' && $sort_dir == 'd') ? 'a' : 'd'),
'U_SORT_EMAIL' => $sort_url . '&amp;sk=e&amp;sd=' . (($sort_key == 'e' && $sort_dir == 'd') ? 'a' : 'd'),
'U_SORT_ACTIVE' => ($auth->acl_get('u_viewonline')) ? $sort_url . '&amp;sk=l&amp;sd=' . (($sort_key == 'l' && $sort_dir == 'd') ? 'a' : 'd') : '',
'U_SORT_RANK' => $sort_url . '&amp;sk=m&amp;sd=' . (($sort_key == 'm' && $sort_dir == 'd') ? 'a' : 'd'),