# Recent search is not working

**URL:** https://meta.discourse.org/t/recent-search-is-not-working/295444
**Category:** Bug
**Tags:** search
**Created:** [February 15, 2024, 7:02am UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444 "2024-02-15T07:02:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pinder99](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pinder99](https://meta.discourse.org/u/pinder99)
#### Post date: [February 15, 2024, 7:02am UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/1 "2024-02-15T07:02:14Z")

</div>

If you click on recent search like in below image , it becomes blank

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/6/2/66212a412e293dccb249b22328e434ee6ce4d087.png)

---

<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: [February 15, 2024, 7:29am UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/3 "2024-02-15T07:29:18Z")

</div>

Thanks for reporting, looks like a recent regression.

I also think @pmusaraj that it is a bit odd to totally hide recent searches when you are in a topic, cause it makes the feature so much more hidden.

Odds are super high you are always going to be doing global searches vs in topic searches.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [February 15, 2024, 6:40pm UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/5 "2024-02-15T18:40:36Z")

</div>

Yeah, I agree. We could certainly include recent searches in more contexts. I would avoid them when you’re in PMs or group inboxes, but otherwise, if there are no cached results, seems reasonable to show your recent searches.

---

<div class="post-metadata">

### Author: ![isaac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isaac/32/235758_2.png) [@isaac](https://meta.discourse.org/u/isaac)
#### Post date: [February 15, 2024, 6:47pm UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/6 "2024-02-15T18:47:11Z")

</div>

Thank you @pinder99 for the report. Much appreciated. This will be fixed by

[https://github.com/discourse/discourse/pull/25704](https://github.com/discourse/discourse/pull/25704)

---

<div class="post-metadata">

### Author: ![isaac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isaac/32/235758_2.png) [@isaac](https://meta.discourse.org/u/isaac)
#### Post date: [February 15, 2024, 7:39pm UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/7 "2024-02-15T19:39:18Z")

</div>

> [@pmusaraj](#):
>
> We could certainly include recent searches in more contexts.

We could do something like this

[https://github.com/discourse/discourse/pull/25705](https://github.com/discourse/discourse/pull/25705)

cc @sam

---

<div class="post-metadata">

### Author: ![isaac](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/isaac/32/235758_2.png) [@isaac](https://meta.discourse.org/u/isaac)
#### Post date: [February 26, 2024, 2:00pm UTC](https://meta.discourse.org/t/recent-search-is-not-working/295444/9 "2024-02-26T14:00:47Z")

</div>

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