# Discourse Docs Card Filter

**URL:** https://meta.discourse.org/t/discourse-docs-card-filter/187947
**Category:** Theme component
**Tags:** official, docs, docs-card-filter
**Created:** [April 23, 2021, 9:13pm UTC](https://meta.discourse.org/t/discourse-docs-card-filter/187947 "2021-04-23T21:13:37Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jordan.vidrine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan.vidrine/32/515563_2.png) [@jordan.vidrine](https://meta.discourse.org/u/jordan.vidrine)
#### Post date: [July 28, 2021, 4:50pm UTC](https://meta.discourse.org/t/discourse-docs-card-filter/187947/3 "2021-07-28T16:50:32Z")

</div>

This should be the case as we are getting the category info from

```javascript
@discourseComputed("category")
  categoryInfo(category) {
    return this.site.categories.findBy("id", category.id);
  },

```

To my knowledge, `this.site.categories` will only return those the current user can view.

---

_[View the full topic](https://meta.discourse.org/t/discourse-docs-card-filter/187947)._
