strip leading spaces from title for sort criteria
This commit is contained in:
parent
3bbda09f84
commit
9c09222762
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,8 @@ class TargetField(RelationField):
|
|||
if value is not None:
|
||||
value = util.getObjectForUid(value)
|
||||
if value is not None:
|
||||
return value.title
|
||||
if value.title is not None:
|
||||
return value.title.split()
|
||||
|
||||
def getValue(self, row):
|
||||
value = self.getRawValue(row)
|
||||
|
|
Loading…
Add table
Reference in a new issue