Add all POST variables to the GET request
authorJoshua Rüsweg <josh@bastelstu.be>
Sun, 22 Mar 2015 23:46:01 +0000 (00:46 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Sun, 22 Mar 2015 23:46:01 +0000 (00:46 +0100)
wcfsetup/install/files/lib/page/MembersListPage.class.php

index 57c697cc1958e40143586d422fb9f78c8c773b87..88f1355feac3b2bba7065ffc5008a009bc242203 100644 (file)
@@ -109,7 +109,8 @@ class MembersListPage extends SortablePage {
                }
                
                if (!empty($_POST)) {
-                       HeaderUtil::redirect(LinkHandler::getInstance()->getLink('MembersList', array(), 'sortField=' . $this->sortField . '&sortOrder=' . $this->sortOrder));
+                       $parameters = http_build_query($_POST, '', '&');
+                       HeaderUtil::redirect(LinkHandler::getInstance()->getLink('MembersList', array(), $parameters));
                        exit;
                }
        }