chore: Removing 'description_html' from Issue List (#3623)
* chore: removed issue description from issue list * fix: issue description handling on peekoverview --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
963d26ccda
commit
0fb43c6fc5
8 changed files with 77 additions and 50 deletions
|
|
@ -50,6 +50,7 @@ from plane.app.serializers import (
|
|||
CommentReactionSerializer,
|
||||
IssueRelationSerializer,
|
||||
RelatedIssueSerializer,
|
||||
IssueDetailSerializer,
|
||||
)
|
||||
from plane.app.permissions import (
|
||||
ProjectEntityPermission,
|
||||
|
|
@ -267,7 +268,7 @@ class IssueViewSet(WebhookMixin, BaseViewSet):
|
|||
def retrieve(self, request, slug, project_id, pk=None):
|
||||
issue = self.get_queryset().filter(pk=pk).first()
|
||||
return Response(
|
||||
IssueSerializer(
|
||||
IssueDetailSerializer(
|
||||
issue, fields=self.fields, expand=self.expand
|
||||
).data,
|
||||
status=status.HTTP_200_OK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue