From bff62ea20f332e2d44e2ac8b8eeccf4f83513820 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Mon, 14 Jul 2014 18:31:18 +0200 Subject: [PATCH] [Search] fix Elasticsearch podcast indexing --- mygpo/search/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mygpo/search/json.py b/mygpo/search/json.py index 08f13f97..866f97e3 100644 --- a/mygpo/search/json.py +++ b/mygpo/search/json.py @@ -15,7 +15,7 @@ def podcast_to_json(podcast): # modified is not indexed 'license': podcast.license, # maybe get a license name here? 'flattr_url': podcast.flattr_url, - 'content_types': filter(None, podcast.content_types.split(',')), + 'content_types': filter(None, podcast.content_types), 'outdated': podcast.outdated, 'author': podcast.author, 'logo_url': podcast.logo_url, -- 2.11.4.GIT