# Pinned post excerpt no longer appears after refreshing the page

**URL:** https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222
**Category:** Bug
**Created:** [10 januari 2019 om 19:30 UTC](https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222 "2019-01-10T19:30:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![markouz\_ph](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@markouz\_ph](https://meta.discourse.org/u/markouz_ph)
#### Post date: [10 januari 2019 om 19:30 UTC](https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222/1 "2019-01-10T19:30:41Z")

</div>

For this, we’re using Discourse v2.2.0.beta7.

When first navigating to the “All Categories - Latest” page, pinned topics display an excerpt of the post, but this excerpt no longer shows once the page is refreshed, as seen here, using the “Dark” theme:

 ![DiscoursePreviewText](https://global.discourse-cdn.com/meta/original/3X/2/c/2c45dfd7b7a50592cea041fca216f33c628d8d83.png)

The excerpt will display again after navigating away and back to the page. This behavior isn’t seen when using v2.2.0.beta4.

Thanks for any insight on this one!

---

<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: [11 januari 2019 om 04:16 UTC](https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222/2 "2019-01-11T04:16:34Z")

</div>

This is a nit with “pinned locally” topics. They should never show excerpt on the front page … yet they do.

1. Pin a topic locally in a category.
2. Visit category listing
3. Click home page - topic has excerpt (due to internal identity cache)
4. Refresh
5. Excerpt is gone

@eviltrout is there a trivial fix you can think of here?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [14 januari 2019 om 18:03 UTC](https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222/3 "2019-01-14T18:03:10Z")

</div>

Not related to identity map in this case. The controller keeps state, and it was being set when viewing a category and not reset when viewing a non-category:

[https://github.com/discourse/discourse/commit/f75915efa44c9810942dcf632b104c27ab348150](https://github.com/discourse/discourse/commit/f75915efa44c9810942dcf632b104c27ab348150)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [14 januari 2019 om 21:34 UTC](https://meta.discourse.org/t/pinned-post-excerpt-no-longer-appears-after-refreshing-the-page/106222/4 "2019-01-14T21:34:31Z")

</div>


