# Double number of clicks notification badge

**URL:** https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745
**Category:** Bug
**Created:** [17 בפברואר,‏ 2016,‏ 4:58pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745 "2016-02-17T16:58:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [17 בפברואר,‏ 2016,‏ 4:58pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745/1 "2016-02-17T16:58:52Z")

</div>

What does it mean when a link has two “number of clicks” badges, such as in [this post](https://meta.discourse.org/t/cant-install-docker-on-linode-aufs-tools-not-found/18416/15)? They both have the same tooltip (“N clicks”) and link to the same post.

![](https://global.discourse-cdn.com/meta/original/3X/2/4/24f522fc69453f5ae6ef42f8300b8a1d45a28035.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [17 בפברואר,‏ 2016,‏ 5:34pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745/3 "2016-02-17T17:34:11Z")

</div>

I actually think it’s a bug.

It happens when you have two links which starts with the same substring.

- [Link to a topic](https://meta.discourse.org/t/cant-install-docker-on-linode-aufs-tools-not-found/18416)
- [Link to a specific post](https://meta.discourse.org/t/cant-install-docker-on-linode-aufs-tools-not-found/18416/last)

_EDIT:_ here’s what we have in the JSON

```javascript
link_counts: [
  {
    url: "https://meta.discourse.org/t/cant-install-docker-on-linode-aufs-tools-not-found/18416",
    clicks: 3
  },
  {
    url: "https://meta.discourse.org/t/cant-install-docker-on-linode-aufs-tools-not-found/18416/99999999",
   clicks: 0
  }
]

```

---

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [18 בפברואר,‏ 2016,‏ 5:22pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745/4 "2016-02-18T17:22:56Z")

</div>

Seen again in [this post](https://meta.discourse.org/t/migrating-from-google-groups/24695).

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [18 בפברואר,‏ 2016,‏ 5:42pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745/5 "2016-02-18T17:42:51Z")

</div>

Just pushed a fix 👯

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

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [18 בפברואר,‏ 2016,‏ 5:42pm UTC](https://meta.discourse.org/t/double-number-of-clicks-notification-badge/39745/6 "2016-02-18T17:42:59Z")

</div>


