Skip to content

Commit

Permalink
[Fixes #11535] Return category description in API response (#11536)
Browse files Browse the repository at this point in the history
* Return category description in API response

* fix formatting
  • Loading branch information
giohappy authored Sep 27, 2023
1 parent 0248da5 commit 6cd67df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/base/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class SimpleTopicCategorySerializer(DynamicModelSerializer):
class Meta:
model = TopicCategory
name = "TopicCategory"
fields = ("identifier",)
fields = ("identifier", "gn_description")


class RestrictionCodeTypeSerializer(DynamicModelSerializer):
Expand Down

0 comments on commit 6cd67df

Please sign in to comment.