[gen] Indexes: bugfix.
This commit is contained in:
parent
863952ac3d
commit
70906b0117
2 changed files with 2 additions and 1 deletions
|
@ -641,6 +641,7 @@ class Field:
|
|||
# be used for sorting.
|
||||
return (usage == 'sort') and 'SortableTitle' or 'Title'
|
||||
elif self.name == 'state': return 'State'
|
||||
elif self.name == 'SearchableText': return 'SearchableText'
|
||||
else:
|
||||
res = 'get%s%s'% (self.name[0].upper(), self.name[1:])
|
||||
if (usage == 'sort') and self.hasSortIndex(): res += '_sort'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue