# Visiting "Top" causes "New" count to become "1"

**URL:** https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960
**Category:** Bug
**Created:** [8 Fevereiro , 2015 02:46 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960 "2015-02-08T02:46:57Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [8 Fevereiro , 2015 02:46 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/1 "2015-02-08T02:46:57Z")

</div>

###Steps to reproduce

1. During a period of inactivity on site
2. Load clean homepage: [https://meta.discourse.org](https://meta.discourse.org)
3. Click “New” tab
4. Ensure “New” tab lists no new topics
5. Click “Top” tab

###Expected result

1. Top content to display
2. New count to not be displayed i.e. just “New”

###Actual result

1. Top content to display
2. New count displayed as “New (1)”

###Additional note  
Refreshing the page removes the count displaying just “New”. This is reproduceable each time after page refresh.

###Screen captures of event occuring  
Note that this problem occurs in desktop and mobile mode.  
 ![](https://global.discourse-cdn.com/meta/original/3X/0/7/07fc5bea491111a25c922ee2a32275fc308cbc17.gif)

![](https://global.discourse-cdn.com/meta/original/3X/d/c/dc6feba8c672098487f3503220b121a0106a9abf.gif)

Verison: `Discourse 1.2.0.beta6 - https://github.com/discourse/discourse version 10403676d74887e470bce523569943821672fece`

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [8 Fevereiro , 2015 03:25 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/2 "2015-02-08T03:25:16Z")

</div>

It is reproducible for me as well - except - it’s not 1, but 3 for me.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [26 Fevereiro , 2015 00:02 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/3 "2015-02-26T00:02:10Z")

</div>

This bug still exists on meta:

`Discourse 1.3.0.beta1 - https://github.com/discourse/discourse version 3e2ba5b30b1a24bc685f5782ad63e0b74664277d`

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [26 Fevereiro , 2015 00:06 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/4 "2015-02-26T00:06:31Z")

</div>

Hmm, now my “3” is 2

![](https://global.discourse-cdn.com/meta/original/3X/7/5/7597747fb06b97986a2451fe8d57a7e68bda15b2.png)

![](https://global.discourse-cdn.com/meta/original/3X/e/8/e820af16758255e8193c4df0e7771396c9948ba2.png)

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [14 Maio , 2016 21:47 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/5 "2016-05-14T21:47:01Z")

</div>

This no longer occurs for me.

@Mittineague is this also fixed for you?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [14 Maio , 2016 22:06 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/6 "2016-05-14T22:06:14Z")

</div>

I can’t reproduce it now.

And I can’t recall the last time it happened it was so long ago the last time I did notice it happening. .

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [14 Maio , 2016 22:22 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/7 "2016-05-14T22:22:07Z")

</div>

I think this one can be closed, I remember Sam working in this area a some time between reporting and now.

---

<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: [15 Maio , 2016 08:31 UTC](https://meta.discourse.org/t/visiting-top-causes-new-count-to-become-1/24960/8 "2016-05-15T08:31:40Z")

</div>


