Skip to content

Commit

Permalink
Add fields to support press release items
Browse files Browse the repository at this point in the history
  • Loading branch information
marwoodandrew committed Sep 30, 2022
1 parent c413e06 commit fc5ab86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newsroom/news_api/news/search_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NewsAPINewsService(BaseSearchService):
# set of fields that can be specified in the include_fields parameter
allowed_include_fields = {'type', 'urgency', 'priority', 'language', 'description_html', 'located', 'keywords',
'source', 'subject', 'place', 'wordcount', 'charcount', 'body_html', 'readtime',
'profile', 'service', 'genre', 'associations'}
'profile', 'service', 'genre', 'associations', 'headline', 'extra'}

default_fields = {
'_id', 'uri', 'embargoed', 'pubstatus', 'ednote', 'signal', 'copyrightnotice', 'copyrightholder',
Expand Down

0 comments on commit fc5ab86

Please sign in to comment.