From e205598abc88f389d1b0e7d43c7abeed7ef8e9c0 Mon Sep 17 00:00:00 2001 From: ffont Date: Tue, 16 Apr 2024 18:07:29 +0200 Subject: [PATCH] Fix bug in pack tags --- sounds/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sounds/models.py b/sounds/models.py index 79792c2c3..2fe97e60d 100644 --- a/sounds/models.py +++ b/sounds/models.py @@ -1757,7 +1757,7 @@ def get_pack_tags_bw(self): return self.pack_tags # If precomputed from PackManager.bulk_query_id method else: pack_tags_counts = get_search_engine().get_pack_tags(self.user.username, self.name) - return [{'name': tag, 'count': count, 'browse_url': browse_pack_tag_url(tag)} + return [{'name': tag, 'count': count, 'browse_url': self.browse_pack_tag_url(tag)} for tag, count in pack_tags_counts] except SearchEngineException as e: return []