From ab00fa3d9970072070b0bcc407b21ca0acaacf86 Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Wed, 10 Nov 2010 10:06:20 +0000 Subject: [PATCH] Make the creator indexer return utf-8 to the catalog. svn path=/plone.app.discussion/trunk/; revision=45735 --- plone/app/discussion/catalog.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plone/app/discussion/catalog.py b/plone/app/discussion/catalog.py index cd708d1..08c5248 100644 --- a/plone/app/discussion/catalog.py +++ b/plone/app/discussion/catalog.py @@ -67,7 +67,7 @@ def title(object): @indexer(IComment) def creator(object): - return object.creator + return object.creator.encode('utf-8') @indexer(IComment) def description(object): diff --git a/setup.py b/setup.py index 58c3963..5406bc7 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -version = '1.0RC1' +version = '1.0b12jarn-unicode' setup(name='plone.app.discussion', version=version,