From 479c90dc331ea2487d6274dd2babdf0c6e014ab4 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 7 Oct 2022 16:24:42 -0600 Subject: [PATCH] Pass custom filter attributes along Fixes Status filter shows all possible values --- api/src/Etemplate/Widget/Nextmatch/Customfilter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Etemplate/Widget/Nextmatch/Customfilter.php b/api/src/Etemplate/Widget/Nextmatch/Customfilter.php index 558bd6f7d6..62d2bd978c 100644 --- a/api/src/Etemplate/Widget/Nextmatch/Customfilter.php +++ b/api/src/Etemplate/Widget/Nextmatch/Customfilter.php @@ -52,6 +52,7 @@ class Customfilter extends Widget\Transformer $expanded_child = self::factory($this->attrs['type'], false, $this->id); $expanded_child->id = $this->id; $expanded_child->type = $this->attrs['type']; + $expanded_child->attrs = $this->attrs; $expanded_child->run('beforeSendToClient', array($cname, $expand)); $widget_type = $expanded_child->attrs['type']; }