# Related topics missing after rereading a topic with more than 20 posts

**URL:** https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147
**Category:** Bug
**Tags:** ai, related-topics
**Created:** [April 30, 2024, 12:46pm UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147 "2024-04-30T12:46:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 30, 2024, 12:46pm UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/1 "2024-04-30T12:46:06Z")

</div>

Steps to reproduce:

- Visit a topic you have already read, or ensure in another way that you start at the bottom. The topic needs to contain more than 20 posts.  
You can use, for example, [Refinements to search being tested on meta - #31 by volanar](https://meta.discourse.org/t/refinements-to-search-being-tested-on-meta/254158/31)
- Jump to the first post because you want to reread the topic (you can use the timeline or the title).
- Read all the posts until you are at the last post again and notice that the related topics have vanished.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [September 2, 2024, 7:01am UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/3 "2024-09-02T07:01:17Z")

</div>

I’ve just noticed this again at [New and improved About page at /about is live](https://meta.discourse.org/t/new-and-improved-about-page-is-live/324212). This happens very easily in categories where you land on the first post after reading the whole topic like #announcements . The step of jumping to the first post happens automatically.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 18, 2024, 4:22am UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/4 "2024-11-18T04:22:40Z")

</div>

Exact repro is:

1. Have **zero** unread or new topics.
2. Visit a topic with **more than 20** replies from post #1
3. Scroll to the bottom, no “related topics”.

This indicates there is a bug here:

This code here:

> <https://github.com/discourse/discourse-ai/blob/43b800d46db76de5651a162f4dfbb0a808acaae9/lib/embeddings/entry_point.rb#L41-L45>

I meant to catch it, but it is not.

This may be a client side bug where the data lives in the serializer but is not being rendered.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [November 18, 2024, 4:25am UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/6 "2024-11-18T04:25:07Z")

</div>

> [@sam](#):
>
> Have **zero** unread or new topics.

Even if you have unread topics the related topics tab is missing

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 28, 2024, 5:25pm UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/9 "2024-11-28T17:25:54Z")

</div>

Will be fixed by

[https://github.com/discourse/discourse-ai/pull/976](https://github.com/discourse/discourse-ai/pull/976)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 2, 2024, 11:00am UTC](https://meta.discourse.org/t/related-topics-missing-after-rereading-a-topic-with-more-than-20-posts/306147/10 "2024-12-02T11:00:41Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
