Only show material packages when clicking an author

Contributes to CURA-5604
This commit is contained in:
Ian Paschal 2018-08-03 14:28:45 +02:00
parent 99cb9e93b3
commit 2a6da9fe8e
2 changed files with 14 additions and 1 deletions

View file

@ -115,6 +115,10 @@ Item
{
toolbox.viewPage = "author"
toolbox.filterModelByProp("packages", "author_id", model.id)
toolbox.setFilters("packages", {
"author_id": model.id,
"type": "material"
})
}
break
default: