From 4c9efa333bd62d67444a47bd3d7b4f222a9d4725 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Wed, 10 Jun 2015 18:20:11 +0000 Subject: [PATCH] [Search] use podcasts ID (instead of UUD repr) for indexing --- mygpo/search/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mygpo/search/index.py b/mygpo/search/index.py index 6e7b8193..ab8bb415 100644 --- a/mygpo/search/index.py +++ b/mygpo/search/index.py @@ -31,7 +31,7 @@ def index_podcast(sender, **kwargs): try: conn.index(document, settings.ELASTICSEARCH_INDEX, - 'podcast', podcast.id) + 'podcast', podcast.id.hex) except NoServerAvailable: logger.exception('Indexing podcast failed') -- 2.11.4.GIT