aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-12 11:58:10 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-12 11:58:10 -0700
commit02c93dd1b58d9ec26a6835ebd5e0ebbffb4a28cb (patch)
tree0a8a86dd956f11b9faeb7c014bb8dd684daa42de /fatcat_scholar
parentf9853d3ae36f05c6f1ee803b0bb29d5eb5841bcf (diff)
downloadfatcat-scholar-02c93dd1b58d9ec26a6835ebd5e0ebbffb4a28cb.tar.gz
fatcat-scholar-02c93dd1b58d9ec26a6835ebd5e0ebbffb4a28cb.zip
search: include 'article' in papers filter
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index b4ec472..cc972bd 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -110,7 +110,7 @@ def do_fulltext_search(
# type filters
if query.filter_type == "papers" or query.filter_type is None:
search = search.filter(
- "terms", type=["article-journal", "paper-conference", "chapter",]
+ "terms", type=["article-journal", "paper-conference", "chapter", "article"]
)
elif query.filter_type == "reports":
search = search.filter("terms", type=["report", "standard",])