Skip to content

Commit 6389449

Browse files
author
Scott Straughan
committed
Added authors filter.
1 parent 8a723d3 commit 6389449

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/feeds/ResearchPaperFeed.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,7 @@ def _generate_filters(
5555

5656
filters.add_filter('year', feed_item.markdown_file.date.year)
5757

58+
if feed_item.has_value('authors'):
59+
[filters.add_filter('authors', author) for author in feed_item.get('authors')]
60+
5861
return filters

0 commit comments

Comments
 (0)