Commit 9ee74bfa authored by Jérome Perrin's avatar Jérome Perrin

Field.PrincipiaSearchSource must separate each search term

parent a8866848
...@@ -452,7 +452,7 @@ class Field: ...@@ -452,7 +452,7 @@ class Field:
elif obj_type is unicode: elif obj_type is unicode:
return obj.encode('utf-8') return obj.encode('utf-8')
return str(obj) return str(obj)
return ''.join(map(getSearchSource, return ' '.join(map(getSearchSource,
(self.values.values()+self.tales.values()+ (self.values.values()+self.tales.values()+
self.overrides.values()))) self.overrides.values())))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment