From c13b3d22626ae9eadb957690a9c921afe5a7a1b8 Mon Sep 17 00:00:00 2001 From: helmutm Date: Fri, 27 Jun 2008 17:58:17 +0000 Subject: [PATCH] I18NValue: index all language values for title and description git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2726 fd906abe-77d9-0310-91a1-e0d9ade77398 --- concept.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concept.py b/concept.py index b458928..8e36ad2 100644 --- a/concept.py +++ b/concept.py @@ -402,7 +402,8 @@ class IndexAttributes(object): #return ' '.join((getName(ctx), ctx.title,)) actx = adapted(ctx) indexAttrs = getattr(actx, '_textIndexAttributes', ()) - return ' '.join([getName(ctx), ctx.title, ctx.description] + + #return ' '.join([getName(ctx), ctx.title, ctx.description] + + return ' '.join([self.title()] + self.creators() + [getattr(actx, attr, u'???') for attr in indexAttrs]).strip()