From f28a9c798fce1b3bb0d414b2522b567a8168b60e Mon Sep 17 00:00:00 2001 From: Mark Beacom Date: Wed, 19 Sep 2018 13:41:52 -0400 Subject: [PATCH] Fix #2246 - Switch org_bounties query to icontains vs contains to resolve bounty counts on org page --- app/dashboard/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/models.py b/app/dashboard/models.py index 5b81908077a..f6de984e617 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -2020,7 +2020,7 @@ def get_fulfilled_bounties(self, network=None): def get_orgs_bounties(self, network=None): network = network or self.get_network() url = f"https://github.com/{self.handle}" - bounties = Bounty.objects.current().filter(network=network, github_url__contains=url) + bounties = Bounty.objects.current().filter(network=network, github_url__icontains=url) return bounties def get_leaderboard_index(self, key='quarterly_earners'):