Skip to content

Commit

Permalink
Add comments on when fields need to be updated
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
obulat committed Mar 27, 2024
1 parent 544de4b commit 3809137
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/api/serializers/media_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class MediaSearchRequestSerializer(PaginatedRequestSerializer):
"license_type",
"creator",
"tags",
# Uncomment after Additional search views project is launched
# TODO: Uncomment after https://github.com/WordPress/openverse/issues/3919
# "collection",
# "tag",
"title",
Expand All @@ -140,6 +140,7 @@ class MediaSearchRequestSerializer(PaginatedRequestSerializer):
# "unstable__authority_boost",
# "unstable__include_sensitive_results",
]
# TODO: Remove after https://github.com/WordPress/openverse/issues/3919
if settings.SHOW_COLLECTION_DOCS:
field_names.extend(
[
Expand Down

0 comments on commit 3809137

Please sign in to comment.