mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Use user_rating instead of user
In the end it was implemented as user_rating (and not as user) CURA-6013
This commit is contained in:
parent
4baf0d1bdb
commit
30057e2fcd
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class PackagesModel(ListModel):
|
||||||
"login_required": "login-required" in package.get("tags", []),
|
"login_required": "login-required" in package.get("tags", []),
|
||||||
"average_rating": float(package.get("rating", {}).get("average", 0)),
|
"average_rating": float(package.get("rating", {}).get("average", 0)),
|
||||||
"num_ratings": package.get("rating", {}).get("count", 0),
|
"num_ratings": package.get("rating", {}).get("count", 0),
|
||||||
"user_rating": package.get("rating", {}).get("user", 0)
|
"user_rating": package.get("rating", {}).get("user_rating", 0)
|
||||||
})
|
})
|
||||||
|
|
||||||
# Filter on all the key-word arguments.
|
# Filter on all the key-word arguments.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue