# באג ב-Category Groups כאשר category slugs מכילים מקפים

**URL:** https://meta.discourse.org/t/bug-in-category-groups-when-category-slugs-contains-dashes/280318
**Category:** Bug
**Tags:** category-groups
**Created:** [7 בספטמבר,‏ 2023,‏ 1:08pm UTC](https://meta.discourse.org/t/bug-in-category-groups-when-category-slugs-contains-dashes/280318 "2023-09-07T13:08:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Drew-ART](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Drew-ART](https://meta.discourse.org/u/Drew-ART)
#### Post date: [7 בספטמבר,‏ 2023,‏ 1:08pm UTC](https://meta.discourse.org/t/bug-in-category-groups-when-category-slugs-contains-dashes/280318/1 "2023-09-07T13:08:26Z")

</div>

I’ve encountered another error.

If i use the slug pr-and-social-media, the plugin will look for ‘pr’ ‘and’ ‘social’ ‘media’, and if it finds any of them it’ll add them to a category group.

Its using ‘-’ as a divider, which could be a feature i guess if you wanted to allow sites to have subcategory groups.

I’m just removing all hyphens from all my category slugs to fix it.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [27 בספטמבר,‏ 2023,‏ 3:26pm UTC](https://meta.discourse.org/t/bug-in-category-groups-when-category-slugs-contains-dashes/280318/2 "2023-09-27T15:26:40Z")

</div>

Fixed :tada:

> [@Category Groups](https://meta.discourse.org/t/category-groups/200874/29):
>
> I’ve just merged a refactor of this component. Functionality should remain the same overall, with some bug fixes. Behind the scenes this uses some modernized Ember, and eliminates template overrides, which can be a little fragile as far as Discourse customizations go. This should be fixed now This is fixed now, the groups will no longer apply to the subcategory layouts I’ve updated this, so category logos should be much more normally sized now

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [27 בספטמבר,‏ 2023,‏ 3:26pm UTC](https://meta.discourse.org/t/bug-in-category-groups-when-category-slugs-contains-dashes/280318/3 "2023-09-27T15:26:42Z")

</div>


