# Duplicate tags after capitalizing a tag

**URL:** https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217
**Category:** Bug
**Created:** [October 10, 2018, 6:50pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217 "2018-10-10T18:50:59Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Tommy\_Trojan](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@Tommy\_Trojan](https://meta.discourse.org/u/Tommy_Trojan)
#### Post date: [October 10, 2018, 6:50pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/1 "2018-10-10T18:50:59Z")

</div>

I have a tag, let’s say `utk`, and then I rename it to `UTK`. When I want to tag a post to this tag, I found duplicate choices in the filter. Both version exist. But on the tags page, there is only one version, which is `UTK`. And I can use either one of them to tag a post and tag filter can successfully filter the post.

How can I get rid of the `utk` and only keep the `UTK`?

 ![tag%20bug](https://global.discourse-cdn.com/meta/original/3X/5/9/596007af4856437a94e149945ed44976ba9ae800.png)

---

<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: [October 10, 2018, 6:56pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/2 "2018-10-10T18:56:50Z")

</div>

This is probably yours @david?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 10, 2018, 8:18pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/4 "2018-10-10T20:18:50Z")

</div>

@Tommy_Trojan could you please let me know whether you have “force lowercase tags” enabled? If you are able to share the link of the site that would be also be useful, but I understand if you can’t.

---

<div class="post-metadata">

### Author: ![Tommy\_Trojan](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@Tommy\_Trojan](https://meta.discourse.org/u/Tommy_Trojan)
#### Post date: [October 10, 2018, 8:34pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/5 "2018-10-10T20:34:09Z")

</div>

Thank you for your replay. I don’t have `force lower case tags` enabled. and it’s on local machine, still on testing stage. But thank you all for this wonderful app.

I attached a screenshot of inspect, hope it helps.

 ![tag%20bugs](https://global.discourse-cdn.com/meta/original/3X/0/2/021d9786ae7a32c17588b4ed8025b67de1a85a6e.png)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 10, 2018, 9:16pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/6 "2018-10-10T21:16:46Z")

</div>

Ok, I think this is the same issue described [here](https://meta.discourse.org/t/tags-and-spaces/99198/3). It’s always been an issue to some extent, but it’s a lot more noticable now that we allow mixed-case tags. Once you save the changes to the topic and refresh the page, it should not show duplicate tags.

Thanks @Tommy_Trojan, I’ll ping you when it’s fixed.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 19, 2018, 1:42pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/7 "2018-10-19T13:42:36Z")

</div>

This should be fixed by

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

@Tommy_Trojan can you update to the latest version and give it a try?

---

<div class="post-metadata">

### Author: ![Tommy\_Trojan](https://avatars.discourse-cdn.com/v4/letter/t/b4bc9f/32.png) [@Tommy\_Trojan](https://meta.discourse.org/u/Tommy_Trojan)
#### Post date: [October 19, 2018, 11:29pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/8 "2018-10-19T23:29:46Z")

</div>

@david Hi David, It works perfectly now. Thank you very much for your wonderful work.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 22, 2018, 5:00pm UTC](https://meta.discourse.org/t/duplicate-tags-after-capitalizing-a-tag/99217/9 "2018-10-22T17:00:07Z")

</div>

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