Commit cc789866 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithms][templates][edition] Fix fork link generation

parent 45db9a66
......@@ -710,10 +710,7 @@ jQuery(document).ready(function() {
});
{% if original_author %}
var url = '{% url 'api_algorithms:object' original_author algorithm_name %}'
{% if algorithm_version %}
url += '{{ algorithm_version }}/';
{% endif %}
var url = '{% url 'api_algorithms:object' original_author algorithm_name algorithm_version %}'
var query = '?fields=html_description,description,short_description';
......
Supports Markdown
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