Kill the slow count on tags

This commit is contained in:
David Heinemeier Hansson
2025-11-18 17:07:18 +01:00
parent 1bd4a1b4e7
commit 80b2bbb652
+1 -1
View File
@@ -25,7 +25,7 @@ module My::MenuHelper
def my_menu_tag_item(the_tag) def my_menu_tag_item(the_tag)
my_menu_item("tag", tag) do my_menu_item("tag", tag) do
link_to(tag.span("#{the_tag.title} (#{the_tag.cards_count})", class: "overflow-ellipsis"), cards_path(tag_ids: [ the_tag ]), class: "popup__btn btn") link_to(tag.span(the_tag.title, class: "overflow-ellipsis"), cards_path(tag_ids: [ the_tag ]), class: "popup__btn btn")
end end
end end