@@ -610,6 +610,12 @@ def index():
610610 'title': suggestion
611611 },
612612 result_container.suggestions)
613+
614+ correction_urls = list(map(lambda correction: {
615+ 'url': raw_text_query.changeSearchQuery(correction).getFullQuery(),
616+ 'title': correction
617+ },
618+ result_container.corrections))
613619 #
614620 return render(
615621 'results.html',
@@ -622,7 +628,7 @@ def index():
622628 advanced_search=advanced_search,
623629 suggestions=suggestion_urls,
624630 answers=result_container.answers,
625− corrections=result_container.corrections,
631+ corrections=correction_urls,
626632 infoboxes=result_container.infoboxes,
627633 paging=result_container.paging,
628634 unresponsive_engines=result_container.unresponsive_engines,