Commit 7caf37ad authored by Ryan Herbert's avatar Ryan Herbert
Browse files pass real set id instead of string_id

for redirecting after add sample
see #3091
parent 2bae1863
Pipeline #19986 failed with stages
in 40 seconds
......@@ -283,7 +283,8 @@ def submit():
'table_name': "sequence_file"})
if not error:
set_id = data['sets'][0]['id']
set_type = data['sets'][0]['type']
set_id = id_dict[set_type][0]
res = { "file_ids": [f['id'] for f in data['file']],
"redirect": "sample_set/index",
"args" : { "id" : set_id, "config_id": -1},
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment