From 6191b4984dda38e7dd4631d599a951d373dfae46 Mon Sep 17 00:00:00 2001 From: James Cocker Date: Tue, 12 Mar 2024 21:19:31 +0000 Subject: [PATCH] ENH Add extension hook for modifying submissions GridField (#1273) --- code/UserForm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/UserForm.php b/code/UserForm.php index 2fcffc7..20ec7e8 100644 --- a/code/UserForm.php +++ b/code/UserForm.php @@ -341,6 +341,9 @@ SQL; $this->Submissions()->sort('Created', 'DESC'), $config ); + + $this->extend('updateSubmissionsGridField', $submissions); + return $submissions; }