Skip to content

Commit

Permalink
Merge pull request #240 from EarthSchlange/fix_member_profile_page
Browse files Browse the repository at this point in the history
fix: corrected error for search redirect
  • Loading branch information
Michael Hiiva committed Feb 18, 2022
2 parents ada2773 + d8f5328 commit 3579ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agagd/agagd_core/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get(self, request):

if query.isdigit():
member_id = [int(query)]
return HttpResponseRedirect(reverse("member_detail", args=member_id))
return HttpResponseRedirect(reverse("players_profile", args=member_id))

member_table_data = (
Member.objects.filter(Q(member_id=F("players__pin_player")))
Expand Down

0 comments on commit 3579ae7

Please sign in to comment.