allow adapterindexattributes title getter

This commit is contained in:
Hannes Plattner 2021-11-12 10:42:35 +01:00
parent d4edd8ee7a
commit 1cf6bd3c06

View file

@ -496,6 +496,8 @@ class IndexAttributes(object):
[v for v in indexValues if v is not None]).strip() [v for v in indexValues if v is not None]).strip()
def title(self): def title(self):
if self.adaptedIndexAttributes is not None:
return self.adaptedIndexAttributes.title()
context = self.context context = self.context
title = context.title title = context.title
if title is None: if title is None: