wcs: also index keywords for formdefs found via category cells (#27676)
This commit is contained in:
parent
a008a6d5d3
commit
d940345e91
|
@ -471,10 +471,11 @@ class WcsFormsOfCategoryCell(WcsCommonCategoryCell, WcsBlurpMixin):
|
|||
formdefs = self.get_data({'synchronous': True})
|
||||
for site in formdefs.values():
|
||||
for formdef in site.get('data', []):
|
||||
text = ' '.join([formdef.get('description', '')] + formdef.get('keywords', []))
|
||||
yield {
|
||||
'url': formdef['url'],
|
||||
'title': formdef['title'],
|
||||
'text': formdef['description']}
|
||||
'text': text}
|
||||
|
||||
|
||||
@register_cell_class
|
||||
|
|
Loading…
Reference in New Issue