allow cardinality of no limit
Bug #1476804 reported by
Kyle Nitzsche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scope-aggregator |
Fix Released
|
High
|
Unassigned |
Bug Description
There's a default cardinality of 6 when not using user settings for cardinality.
There should be no default limit.
Related branches
Changed in scope-aggregator: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in scope-aggregator: | |
assignee: | nobody → Yuan-Chen Cheng (ycheng-twn) |
assignee: | Yuan-Chen Cheng (ycheng-twn) → nobody |
Changed in scope-aggregator: | |
status: | In Progress → Fix Committed |
Changed in scope-aggregator: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
release 1.5.21 fixes this as follows:
If you declare a scope, category or keyword with a cardinality of 0, then 0 is passed, which means there is no limit on the number of results, for examlple:
{
"scope" :
"id": "com.canonical. scopes. contacts_ contacts" ,
"local_ id": "contacts",
"category_ title_use_ incoming" : "true",
"cardinality" : 0,
"renderer" :
" components" :
{
"art" : "art",
"title" : "title",
"subtitle" : "published",
"attributes" : "attributes"
} ,
" schema- version" : 1,
" template" :
{
"card- size": "medium",
"collapsed- rows": 1,
"category- layout" : "horizontal-list"
}
{
{
}
}
},