wcs: skip empty results (#21112)
This commit is contained in:
parent
3247c69f66
commit
72b27ebab4
|
@ -423,7 +423,7 @@ class WcsFormsOfCategoryCell(WcsCommonCategoryCell, WcsBlurpMixin):
|
|||
return
|
||||
formdefs = self.get_data({'synchronous': True})
|
||||
for site in formdefs.values():
|
||||
for formdef in site.get('data'):
|
||||
for formdef in site.get('data', []):
|
||||
yield {
|
||||
'url': formdef['url'],
|
||||
'title': formdef['title'],
|
||||
|
|
Loading…
Reference in New Issue