From c2f994a02ee8fef2350d151d0ac9747886966bbd Mon Sep 17 00:00:00 2001 From: kodumbeats Date: Mon, 1 Nov 2021 20:47:07 -0400 Subject: [PATCH] Pass filters to createAttribute to inherit default value defined in this layer --- app/controllers/api/database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index 65af782193..a51afa7f1a 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -94,6 +94,7 @@ function createAttribute($collectionId, $attribute, $response, $dbForInternal, $ 'array' => $array, 'format' => $format, 'formatOptions' => $formatOptions, + 'filters' => $filters, ]); $dbForInternal->checkAttribute($collection, $attribute);