diff --git a/cellxgene_gateway/gateway.py b/cellxgene_gateway/gateway.py index 5b66c74..07e4472 100644 --- a/cellxgene_gateway/gateway.py +++ b/cellxgene_gateway/gateway.py @@ -240,15 +240,14 @@ def do_GET_status_json(): @app.route("/relaunch/", methods=["GET"]) def do_relaunch(path): - source_name = request.args.get("source") or default_item_source.name + source_name = request.args.get("source_name") or default_item_source.name source = matching_source(source_name) key = CacheKey.for_lookup(source, source.lookup(path)) match = cache.check_entry(key) if not match is None: match.terminate() - qs = request.query_string.decode() return redirect( - key.view_url + (f"?{qs}" if len(qs) > 0 else ""), + key.view_url, code=302, ) diff --git a/cellxgene_gateway/templates/process_error.html b/cellxgene_gateway/templates/process_error.html index 2122f8e..e01b2aa 100644 --- a/cellxgene_gateway/templates/process_error.html +++ b/cellxgene_gateway/templates/process_error.html @@ -36,7 +36,7 @@

Options

Please choose one of the following, or use the back button: