Skip to content

Commit

Permalink
Update ObjectTagCountsView to accept complex objectIds as well
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf committed Oct 28, 2024
1 parent 6b8df7b commit 8d7d34d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openedx_tagging/core/tagging/rest_api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ class ObjectTagCountsView(

serializer_class = ObjectTagSerializer
lookup_field = "object_id_pattern"
lookup_value_regex = r'[\w\.\+\-@:*,]+'

def retrieve(self, request, *args, **kwargs) -> Response:
"""
Expand Down

0 comments on commit 8d7d34d

Please sign in to comment.