Skip to content

Commit

Permalink
fix: Delete tags_count from LibraryXBlockMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Sep 27, 2024
1 parent dac0309 commit 50c7886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion openedx/core/djangoapps/content_libraries/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ class LibraryXBlockMetadata:
last_draft_created_by = attr.ib("")
published_by = attr.ib("")
has_unpublished_changes = attr.ib(False)
tags_count = attr.ib(0)
created = attr.ib(default=None, type=datetime)

@classmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def test_library_blocks_studio_view(self):
"id": "lb:CL-TEST:testlib2:html:html1",
"display_name": "Text",
"block_type": "html",
"has_unpublished_changes": True,
"has_unpublished_changes": True ,
"last_published": None,
"published_by": None,
"last_draft_created": create_date.isoformat().replace('+00:00', 'Z'),
Expand Down

0 comments on commit 50c7886

Please sign in to comment.