# findFilteredTopics로 PM을 가져올 수 있을까요?

**URL:** <https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863>\
**Category:** Development\
**Created:** [11월 27, 2024, 9:59오후 UTC](https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863 "2024-11-27T21:59:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [11월 29, 2024, 4:28오후 UTC](https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863/3 "2024-11-29T16:28:15Z")

</div>

잠깐!!! 여기서 올바른 필터를 찾았어요.

[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/routes/build-private-messages-group-route.js#L33](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/routes/build-private-messages-group-route.js#L33)

```plaintext
    let topicListFilter = `topics/private-messages-group/${this.currentUser.username}/${groupName}`;
    console.log("consider the topic list", topicListFilter);
    const topicList = await this.store.findFiltered('topicList', {
      filter: topicListFilter,
      params: { },
    });

```

---

_[View the full topic](https://meta.discourse.org/t/can-i-get-findfilteredtopics-to-get-pms/338863)._
