diff options
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index 76a2f70..d29e03b 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -123,8 +123,7 @@ def do_fulltext_search(query: FulltextQuery, deep_page_limit: int = 2000) -> Ful # availability filters if query.filter_availability == "oa": - # TODO: real OA filter/flag - search = search.filter("term", tag="OA") + search = search.filter("term", tag="oa") elif query.filter_availability == "everything": pass elif query.filter_availability == "fulltext" or query.filter_availability == None: |