From b9ad839e1a8fca6f44021bce45e3354f81876093 Mon Sep 17 00:00:00 2001 From: Mh-Asmi Date: Tue, 26 Nov 2024 20:26:36 +0400 Subject: [PATCH] fix post color in only parameter --- src/Ushahidi/Modules/V5/Models/Post/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ushahidi/Modules/V5/Models/Post/Post.php b/src/Ushahidi/Modules/V5/Models/Post/Post.php index f7d3c6b11..2c48ce5b9 100644 --- a/src/Ushahidi/Modules/V5/Models/Post/Post.php +++ b/src/Ushahidi/Modules/V5/Models/Post/Post.php @@ -71,7 +71,7 @@ class Post extends BaseModel 'post_media' => ['fields' => [], 'relationships' => ["valuesPostMedia"]], 'locks' => ['fields' => [], 'relationships' => ["locks"]], 'categories' => ['fields' => [], 'relationships' => ["categories"]], - 'color' => ['fields' => [], 'relationships' => ["survey"]], + 'color' => ['fields' => ['form_id'], 'relationships' => ["survey"]], 'sets' => ['fields' => [], 'relationships' => ["sets"]], 'message' => ['fields' => [], 'relationships' => ['message']], 'contact' => ['fields' => ['metadata','source'], 'relationships' => ['message']],