fix the autocomplete
This commit is contained in:
parent
b36d5df6cb
commit
87d6dfe8de
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module TopicsHelper
|
|||
topic['id'] = t.id
|
||||
topic['label'] = t.name
|
||||
topic['value'] = t.name
|
||||
topic['description'] = t.desc.truncate(70) # make this return matched results
|
||||
topic['description'] = t.desc ? t.desc.truncate(70) : '' # make this return matched results
|
||||
topic['type'] = t.metacode.name
|
||||
topic['typeImageURL'] = t.metacode.icon
|
||||
topic['permission'] = t.permission
|
||||
|
|
Loading…
Reference in a new issue