Skip to content

Commit

Permalink
Fix #12344: manage_user_page.php: changing page resets sort criteria
Browse files Browse the repository at this point in the history
When a user navigates to a different page of the search results the
current sort criteria are forgotten.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
  • Loading branch information
atrol authored and davidhicks committed Sep 18, 2010
1 parent f2f2118 commit 5744213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_user_page.php
Expand Up @@ -336,7 +336,7 @@
<span class="small">
<?php
/* @todo hack - pass in the hide inactive filter via cheating the actual filter value */
print_page_links( 'manage_user_page.php', 1, $t_page_count, (int)$f_page_number, $c_filter . $t_hide_filter);
print_page_links( 'manage_user_page.php', 1, $t_page_count, (int)$f_page_number, $c_filter . $t_hide_filter . "&sort=$c_sort&dir=$c_dir");
?>
</span>
</td>
Expand Down

0 comments on commit 5744213

Please sign in to comment.