]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixes ticket:1087; correctly paginate group members list in fancy URLs.
authorMeitar Moscovitz <meitarm@gmail.com>
Tue, 3 Feb 2009 17:02:30 +0000 (04:02 +1100)
committerMeitar Moscovitz <meitarm@gmail.com>
Tue, 3 Feb 2009 17:02:30 +0000 (04:02 +1100)
lib/util.php

index 07e124811e3969ae5280c7b13fcf19feda75eb5e..8f93a83191eaf3fcdff6577e51aeeae0bf0d987e 100644 (file)
@@ -898,7 +898,7 @@ function common_fancy_url($action, $args=null)
      case 'grouprss':
         return common_path('group/'.$args['nickname'].'/rss');
      case 'groupmembers':
-        return common_path('group/'.$args['nickname'].'/members');
+        return common_path('group/'.$args['nickname'].'/members' . (($args['page']) ? ('?page=' . $args['page']) : ''));
      case 'grouplogo':
         return common_path('group/'.$args['nickname'].'/logo');
      case 'usergroups':