Skip to content

Commit

Permalink
Fix bug in pack tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Apr 16, 2024
1 parent 5d6c760 commit e205598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sounds/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 []
Expand Down

0 comments on commit e205598

Please sign in to comment.