# Menu suspenso de tag no composer e no menu de edição do título do tópico não funciona

**URL:** https://meta.discourse.org/t/tag-dropdown-in-composer-and-topic-title-edit-menu-doesnt-work/395912
**Category:** Bug
**Tags:** tags
**Created:** [12 Fevereiro , 2026 13:28 UTC](https://meta.discourse.org/t/tag-dropdown-in-composer-and-topic-title-edit-menu-doesnt-work/395912 "2026-02-12T13:28:51Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [12 Fevereiro , 2026 15:55 UTC](https://meta.discourse.org/t/tag-dropdown-in-composer-and-topic-title-edit-menu-doesnt-work/395912/2 "2026-02-12T15:55:29Z")

</div>

Acho que isso será corrigido por

> <https://github.com/discourse/discourse/pull/37769>
>
> With \`content\_localization\_enabled\`, searching for tags via any tag dropdowns (o…r hashtag autocompletes) triggers a 500 error. The crash occurs because a preloader is called on a non-AR result returned by \`DiscourseTagging.filter\_allowed\_tags\` :sadpikachu:, which are plain structs, not AR Tags instances. Additionally, \`tag\_counts\_json\` calls AR methods (which access \`.locale\` that don't exist on the minisql objects.
> 
> This PR fixes the issue by converting mini results to Tag ARs with \`.includes(:localizations)\` before passing them to tag\_counts\_json.
>  
> \- TagsController#search
> \- TagHashtagDataSource#search
> \- TagHashtagDataSource#search\_without\_term

---

_[View the full topic](https://meta.discourse.org/t/tag-dropdown-in-composer-and-topic-title-edit-menu-doesnt-work/395912)._
