[gen] Highlight keywords in query results.
This commit is contained in:
parent
92d1276ffb
commit
cf2cbc52d6
4 changed files with 35 additions and 10 deletions
|
@ -446,8 +446,8 @@ class String(Field):
|
|||
elif format == String.TEXT: self.maxChars = 9999
|
||||
elif format == String.XHTML: self.maxChars = 99999
|
||||
elif format == String.PASSWORD: self.maxChars = 20
|
||||
self.filterable = self.indexed and (self.format == String.LINE) and \
|
||||
not self.isSelect
|
||||
self.filterable = self.indexed and not self.isSelect and \
|
||||
(self.format in (String.LINE, String.TEXT))
|
||||
self.swidth = self.swidth or self.width
|
||||
self.sheight = self.sheight or self.height
|
||||
self.checkParameters()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue