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:
parent
0e83ba3ed6
commit
c13b3d2262
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ class IndexAttributes(object):
|
||||||
#return ' '.join((getName(ctx), ctx.title,))
|
#return ' '.join((getName(ctx), ctx.title,))
|
||||||
actx = adapted(ctx)
|
actx = adapted(ctx)
|
||||||
indexAttrs = getattr(actx, '_textIndexAttributes', ())
|
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() +
|
self.creators() +
|
||||||
[getattr(actx, attr, u'???') for attr in indexAttrs]).strip()
|
[getattr(actx, attr, u'???') for attr in indexAttrs]).strip()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue