Skip to content

Commit 6a8380b

Browse files
authored
Merge pull request #228 from honeylogic-io/use-repo-detail-page-for-search-results
feat: Use repo-detail view for search results
2 parents 23d1d45 + 11db23d commit 6a8380b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_wtf/templates/core/search_table.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<div class="my-4 rounded">
66
<div class="shadow-xl card bg-base-200">
77
<div class="pb-2 card-body">
8-
<a target="_blank" href="{{ object.github_url }}">
8+
<a target="_blank"
9+
href="{% url 'core:repo-detail' full_name=object.full_name %}">
910
<h2 class="flex justify-between card-title">
1011
<span>{{ object.full_name }}</span>
1112
<span class="text-sm">⭐ {{ object.stars }}</span>

0 commit comments

Comments
 (0)