Download link from query results is busted
Closed this issue · 3 comments
dphiffer commented
The link that says "Download descendants" from a page like this one doesn't take the path prefix into account (i.e., /download/[id]
instead of /spelunker/download/[id]
).
Assigning this to @stepps00 (who discovered it) as an exercise. Take a look at how the path is constructed here to see how this should be fixed.
stepps00 commented
This commit fixes the issue by adding {{ url_for('index') }}
to the url structure.
stepps00 commented
This commit removed duplicate /
in the download descendants url.
This link should now be fixed in the dev
branch.
dphiffer commented
Hooray! \o/