diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-04-08 16:16:32 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-04-08 16:16:32 -0700 |
commit | 660ae5878ab235b3631e293e0f216846e2986c02 (patch) | |
tree | 18a0de8169e13457709a7921f8ef20115c191ead /fatcat_covid19/search.py | |
parent | 858147b071103c505bff643e35b503c623f20284 (diff) | |
download | fatcat-covid19-660ae5878ab235b3631e293e0f216846e2986c02.tar.gz fatcat-covid19-660ae5878ab235b3631e293e0f216846e2986c02.zip |
small search tweaks and fixes
Diffstat (limited to 'fatcat_covid19/search.py')
-rw-r--r-- | fatcat_covid19/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_covid19/search.py b/fatcat_covid19/search.py index 7d4596d..d39e665 100644 --- a/fatcat_covid19/search.py +++ b/fatcat_covid19/search.py @@ -81,7 +81,7 @@ def do_fulltext_search(q, limit=25, offset=0, filter_time=None, filter_type=None # type filters if filter_type == "papers": - search = search.filter("terms", release_type=[ "article-journal", "paper-conference", ]) + search = search.filter("terms", release_type=[ "article-journal", "paper-conference", "chapter", ]) elif filter_type == "reports": search = search.filter("terms", release_type=[ "report", "standard", ]) elif filter_type == "datasets": |