Add default_query_string for declared scopes

Bug #1473080 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
scope-aggregator
Fix Released
High
Kyle Nitzsche

Bug Description

A proposal is to support a declared default_query_string, like so:
   "scope":
            {
                "id": "FQID",
                "local_id": "something",
                "default_query_string": "STRING",
...
            }

The query string would always be passed to the child unless the user has entered an actual query.

This would enable getting desired results from child scopes that do not support the current mechanisms (child_category, child_department, and keywords).

Tags: feature
tags: added: feature
Changed in scope-aggregator:
status: New → In Progress
assignee: nobody → Kyle Nitzsche (knitzsche)
importance: Undecided → High
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

implemented with 1.5.19

see bzr log for details, but here's a sample declaration:
                  "category":
                  {
                      "id": "cinema",
                      "_category_title": "Cinema",
                      "department": "dept-movies",
                      "local_id": "cinema-movie",
                      "renderer_common_id": "videofeed",
                      "scopes":
                      [
                          {
                              "id": "com.ubuntu.fake_cinema",
                              "local_id": "cinema-1",
                              "default_query_string": "india"
                          },
                          {
                              "id": "com.ubuntu.fake_cinema",
                              "local_id": "cinema-2",
                              "default_query_string": "bollywood"
                          }

                      ],
                      "keywords":[]
                  }
              }

Changed in scope-aggregator:
status: In Progress → 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.