Skip to content

Commit a8a3f1b

Browse files
committed
Update campaign links ordering
1 parent 58d4367 commit a8a3f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colossus/apps/campaigns/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class CampaignLinksView(CampaignMixin, DetailView):
134134
extra_context = {'submenu': 'links'}
135135

136136
def get_context_data(self, **kwargs):
137-
kwargs['links'] = self.object.get_links().only('url', 'total_clicks_count')
137+
kwargs['links'] = self.object.get_links().order_by('index')
138138
return super().get_context_data(**kwargs)
139139

140140

0 commit comments

Comments
 (0)