Skip to content

Commit 9930626

Browse files
committed
restapi: index the project tags
1 parent 09f8282 commit 9930626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/restapi/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def index_search_request(
114114
'lang': project.language,
115115
'author': [user.username for user in project.users.all()],
116116
'url': project.get_absolute_url(),
117-
'tags': None,
117+
'tags': list(project.tags.names()) or None,
118118
'weight': project_scale,
119119
})
120120

0 commit comments

Comments
 (0)