diff --git a/Changelog b/Changelog index cdbcc6a6c..66ddb1612 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-05-04 DariusIII + * Fix: Fix user-list ordering in admin area * Chg: Update getBrowseRange query in Releases class * Fix: Fix wrong parameters in api request * Fix: Fix nocaptcha display on login, contact, forgottenpassword and register pages diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index cd9b45738..5fb1de932 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -13,6 +13,8 @@ use App\Http\Controllers\BasePageController; class UserController extends BasePageController { /** + * @param \Illuminate\Http\Request $request + * * @throws \Exception */ public function index(Request $request) @@ -57,7 +59,7 @@ class UserController extends BasePageController User::updateExpiredRoles(); foreach ($ordering as $orderType) { - $this->smarty->assign('orderby'.$orderType, WWW_TOP.'admin/user-list?ob='.$orderType.'&offset=0'); + $this->smarty->assign('orderby'.$orderType, WWW_TOP.'user-list?ob='.$orderType.'&offset=0'); } $content = $this->smarty->fetch('user-list.tpl');