aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 20:21:33 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 20:21:33 -0700
commitb7a3739239df2fb1573a8677eaef9b7104c4ad0a (patch)
tree2998374d44d2d9bdb0c3aac39b23bc24f190fa84 /fatcat_scholar/search.py
parent65b96de965cf3633a216d6740791376d00a11564 (diff)
downloadfatcat-scholar-b7a3739239df2fb1573a8677eaef9b7104c4ad0a.tar.gz
fatcat-scholar-b7a3739239df2fb1573a8677eaef9b7104c4ad0a.zip
add debug mode flag (to control json tag/link)
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 6f11f30..1e0e705 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -29,6 +29,7 @@ class FulltextQuery(BaseModel):
filter_availability: Optional[str] = None
sort_order: Optional[str] = None
collapse_key: Optional[str] = None
+ debug: Optional[bool] = False
time_options: Any = {
"label": gettext("Release Date"),
"slug": "filter_time",