allow cardinality of no limit

Bug #1476804 reported by Kyle Nitzsche
6
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.

Changed in scope-aggregator:
status: New → Confirmed
importance: Undecided → High
description: updated
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

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"
                    }
                }

            }
        },

Changed in scope-aggregator:
status: Confirmed → In Progress
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.