Various bugfixes.

This commit is contained in:
Gaetan Delannay 2012-09-19 11:29:29 +02:00
parent 5f530d9f9e
commit b985b5998d
4 changed files with 3 additions and 2 deletions

View file

@ -328,6 +328,7 @@ class Search:
# 'SortableTitle', because index 'Title' is a ZCTextIndex
# (for searchability) and can't be used for sorting.
elif fieldName == 'state': return 'State'
elif fieldName in defaultIndexes: return fieldName
else:
return 'get%s%s'% (fieldName[0].upper(),fieldName[1:])
@staticmethod