# 报告视图在按类别筛选时的用户体验改进

**URL:** <https://meta.discourse.org/t/report-view-ux-improvements-when-filtering-on-category/93245>\
**Category:** UX\
**Created:** [2018 年7 月 26 日 23:30 UTC](https://meta.discourse.org/t/report-view-ux-improvements-when-filtering-on-category/93245 "2018-07-26T23:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
发布日期： [2018 年7 月 30 日 13:38 UTC](https://meta.discourse.org/t/report-view-ux-improvements-when-filtering-on-category/93245/3 "2018-07-30T13:38:40Z")

</div>

We need to make sure sub categories are included in parent categories, eg:

First one is filtered on: Support-\>wordpress and we see there are 2 flags 24th march 2018 but second screen is Filtering only on Support and we don’t see these 2 flags on 24th march 2018:

 ![19](https://global.discourse-cdn.com/meta/original/3X/7/f/7fade77093d36b5e03e6a5a8d2011b31573f9440.png)  
 ![26](https://global.discourse-cdn.com/meta/original/3X/6/1/61b091f504b2359fd4cd8aae1437359aae911bea.png)

Also it’s not only about tests about category filtering in report\_spec.rb, there are already tests for some of them. It’s in multiple parts:

- checking if any report doesn’t support category filtering today and you think should support it and then add it
- add category filtering tests to any report that support category filtering

---

_[View the full topic](https://meta.discourse.org/t/report-view-ux-improvements-when-filtering-on-category/93245)._
