# Browser history issue when the home page is not "Latest"

**URL:** https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909
**Category:** Bug
**Created:** [18 במרץ,‏ 2019,‏ 10:57am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909 "2019-03-18T10:57:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)
#### Post date: [18 במרץ,‏ 2019,‏ 10:57am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/1 "2019-03-18T10:57:17Z")

</div>

How to reproduce:

1. Go to a Discourse website where the landing page is not “Latest”, for example [Funcom](http://forums.funcom.com).
2. From the home page, click Hamberger menu \> Latest ➡ this gets you to the “Latest” page.
3. Click the top left Funcom icon ➡ this gets you back to the home page.
4. Click the browser Back button ➡ nothing happens. Expected result: you go back to “Latest”.

---

<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: [18 במרץ,‏ 2019,‏ 11:22am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/2 "2019-03-18T11:22:35Z")

</div>

Can you repro this @tshenry?

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [18 במרץ,‏ 2019,‏ 11:41am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/3 "2019-03-18T11:41:26Z")

</div>

I can confirm this on [https://intfiction.org/](https://intfiction.org/)

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [18 במרץ,‏ 2019,‏ 10:54pm UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/4 "2019-03-18T22:54:17Z")

</div>

I can repro this, but it’s fairly new. I have a self-install site currently running `v2.3.0.beta5 +5` where this doesn’t happen. It seems to have been added somewhere in [this set of commits](https://github.com/discourse/discourse/compare/b9ab393d70a682b9249d0642e1f59c02f6a28f7c...tests-passed).

A second click of the back button will go back to latest, but this is definitely a bug.

---

<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: [18 במרץ,‏ 2019,‏ 11:01pm UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/5 "2019-03-18T23:01:07Z")

</div>

Aha we should assign this to someone @zogstrip

---

<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: [19 במרץ,‏ 2019,‏ 4:19am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/6 "2019-03-19T04:19:05Z")

</div>

@vinothkannans can you bump this to the top of your list.

Likely a result of the other related bug fix regarding filter clearing?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [19 במרץ,‏ 2019,‏ 2:04pm UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/7 "2019-03-19T14:04:41Z")

</div>

It is fixed in

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

---

<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: [25 במרץ,‏ 2019,‏ 7:00am UTC](https://meta.discourse.org/t/browser-history-issue-when-the-home-page-is-not-latest/111909/8 "2019-03-25T07:00:06Z")

</div>

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