We have 2 problems with the directory facet on the Issues search page:
- The facet uses the directory name as its key. Hence, some keys are duplicated, which leads to inconsistencies in the UI. We must make sure each facet item has a unique key attribute.
- The key is used as the filter value. This leads to more inconsistencies, as the search API uses the full path for filtering, without the project key. Currently, the name is used, which only includes a sub-part of the full path. Using the component key wouldn't work either, as it would contain the project key prefix. Use the actual, full path instead.