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
This commit is contained in:
helmutm 2008-06-27 17:58:17 +00:00
parent 0e83ba3ed6
commit c13b3d2262

View file

@ -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()