mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: link and attachment count for cycles and modules (#1307)
This commit is contained in:
parent
bfe581d3bd
commit
56a4e18a3c
@ -483,6 +483,8 @@ class IssueStateSerializer(BaseSerializer):
|
|||||||
assignee_details = UserLiteSerializer(read_only=True, source="assignees", many=True)
|
assignee_details = UserLiteSerializer(read_only=True, source="assignees", many=True)
|
||||||
sub_issues_count = serializers.IntegerField(read_only=True)
|
sub_issues_count = serializers.IntegerField(read_only=True)
|
||||||
bridge_id = serializers.UUIDField(read_only=True)
|
bridge_id = serializers.UUIDField(read_only=True)
|
||||||
|
attachment_count = serializers.IntegerField(read_only=True)
|
||||||
|
link_count = serializers.IntegerField(read_only=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Issue
|
model = Issue
|
||||||
|
Loading…
Reference in New Issue
Block a user