This is by design, departments (if present) act as top-level navigation,
filters are secondary means of narrowing data down inside departments,
not vice versa. This is the way it works in major online shops and we
haven't yet encountered a case where this approach doesn't work.

Marking as 'won't fix' but please provide more details about your case
if you think this is a serious limitation which cannot be solved by
other means (more filters, separate scopes etc.).

** Changed in: unity-scopes-api (Ubuntu)
       Status: New => Won't Fix

** Changed in: unity-scopes-shell (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-shell in
Ubuntu.
https://bugs.launchpad.net/bugs/1398843

Title:
   scope API - department does not reset on filters' change

Status in unity-scopes-api package in Ubuntu:
  Won't Fix
Status in unity-scopes-shell package in Ubuntu:
  Won't Fix
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  Let's assume one decides to have a different tree of departments depending on 
which filter is selected.
  If i select a department(e.g. with id="80" and not present in the filter2), 
and then i select filter2, the following exception is thrown:

  ScopeBase::run(): unity::LogicException: 
SearchReplyImpl::register_departments(): Failed to validate departments:
  unity::LogicException: DepartmentImpl::validate_departments(): current 
department '80' doesn't match any of the subdepartments of parent ''

  However, if i select again filter2, the department resets correctly to the 
root.
  It seems like the new query on the filter selection does not update the 
departments.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1398843/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to