From c71c86720a864e64cfe9c7a744bab97db3ac3cbd Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 4 May 2018 15:08:35 +0200 Subject: [PATCH] Fix user-list ordering in admin area --- Changelog | 1 + app/Http/Controllers/Admin/UserController.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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');