From 3d5508055a5a193529ac6f49c7fe5c16a29bc8fa Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 25 Oct 2022 14:50:39 +0200 Subject: [PATCH] chg: [inbox:index] Allow filtering index by user.id and user.name --- src/Controller/InboxController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/InboxController.php b/src/Controller/InboxController.php index 39f906a..2003213 100644 --- a/src/Controller/InboxController.php +++ b/src/Controller/InboxController.php @@ -16,7 +16,7 @@ use Cake\Http\Exception\ForbiddenException; class InboxController extends AppController { - public $filterFields = ['scope', 'action', 'title', 'origin', 'message']; + public $filterFields = ['scope', 'action', 'title', 'origin', 'message', 'Users.id', 'Users.username']; public $quickFilterFields = ['scope', 'action', ['title' => true], ['message' => true]]; public $containFields = ['Users'];