Closes #17841 Allows Tags to be displayed in specified order (#18930)

This commit is contained in:
Jason Novinger
2025-03-19 12:17:35 -05:00
committed by GitHub
parent d25605c261
commit 6b7d23d684
15 changed files with 110 additions and 18 deletions

View File

@@ -27,8 +27,8 @@ class TagSerializer(ValidatedModelSerializer):
class Meta:
model = Tag
fields = [
'id', 'url', 'display_url', 'display', 'name', 'slug', 'color', 'description', 'object_types',
'tagged_items', 'created', 'last_updated',
'id', 'url', 'display_url', 'display', 'name', 'slug', 'color', 'description', 'weight',
'object_types', 'tagged_items', 'created', 'last_updated',
]
brief_fields = ('id', 'url', 'display', 'name', 'slug', 'color', 'description')