[doc] Doc, again.

This commit is contained in:
Gaetan Delannay 2012-09-13 19:26:05 +02:00
parent 9872f8ea66
commit 693c11658f
7 changed files with 92 additions and 6 deletions

View file

@ -535,6 +535,7 @@ class ToolClassDescriptor(ClassDescriptor):
fieldName = 'searchFieldsFor%s' % className
defaultValue = [a[0] for a in classDescr.getOrderedAppyAttributes(
condition='attrValue.indexed')]
if 'title' not in defaultValue: defaultValue.insert(0, 'title')
fieldType = gen.String(multiplicity=(0,None), validator=gen.Selection(
'_appy_getSearchableFields*%s' % className), default=defaultValue,
page='userInterface', group=classDescr.klass.__name__)