appy.gen: various bugfixes (creation of ZCTextIndexes and of the associated lexicon...).

This commit is contained in:
Gaetan Delannay 2011-12-01 20:53:13 +01:00
parent a321257e55
commit 6733f4c7dc
6 changed files with 42 additions and 129 deletions

View file

@ -315,9 +315,6 @@ class Search:
# Indeed, for field 'title', Appy has a specific index
# 'SortableTitle', because index 'Title' is a ZCTextIndex
# (for searchability) and can't be used for sorting.
elif fieldName == 'description':
if usage == 'search': return 'Description'
else: return None
else:
return 'get%s%s'% (fieldName[0].upper(),fieldName[1:])
@staticmethod