CURA-5536 Calculate the number of installed packages by author.

This commit is contained in:
Diego Prado Gesto 2018-07-13 11:59:19 +02:00
parent 1b6c172e6d
commit 96cc1be2ff
3 changed files with 18 additions and 9 deletions

View file

@ -43,7 +43,7 @@ class AuthorsModel(ListModel):
"package_count": author["package_count"] if "package_count" in author else 0,
"package_types": author["package_types"] if "package_types" in author else [],
"icon_url": author["icon_url"] if "icon_url" in author else None,
"description": "Material and quality profiles from {author_name}".format( author_name = author["display_name"])
"description": "Material and quality profiles from {author_name}".format(author_name = author["display_name"])
})
# Filter on all the key-word arguments.