From 99b0f84f43bc233e6d939c674bc63698aab6dcbf Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Fri, 25 Feb 2022 15:20:10 +0000
Subject: [PATCH] And the Funding Category has also a name

---
 program/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/program/views.py b/program/views.py
index 2e695ec2..611b61d0 100644
--- a/program/views.py
+++ b/program/views.py
@@ -126,7 +126,7 @@ def json_playout(request):
             'show_musicfocus': music_focus,
             'show_languages': languages,
             # TODO: replace `show_fundingcategory` with `show_funding_category` when engine is updated
-            'show_fundingcategory': funding_category,
+            'show_fundingcategory': funding_category.name,
             'memo': ts.memo,
             'className': classname,
         }
-- 
GitLab