aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r--python/fatcat_web/routes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 5789dc48..f313fce0 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -632,6 +632,10 @@ def release_search():
if issnl and query:
query += ' container_issnl:"{}"'.format(issnl)
+ container_id = request.args.get('container_id')
+ if container_id and query:
+ query += ' container_id:"{}"'.format(container_id)
+
if 'q' in request.args.keys():
# always do files for HTML
found = do_release_search(query, fulltext_only=fulltext_only)