Skip to content

Commit bc46b73

Browse files
authored
Sort completed campaigns on campaigns-topics by completed date desc. (#3305)
1 parent 06ad303 commit bc46b73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

concordia/views/campaigns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def get(self, request, *args: Any, **kwargs: Any) -> HttpResponse:
259259
Campaign.objects.published()
260260
.listed()
261261
.filter(status__in=[Campaign.Status.COMPLETED, Campaign.Status.RETIRED])
262-
.order_by("ordering", "title")
262+
.order_by("-completed_date")
263263
)
264264

265265
return render(request, self.template_name, data)

0 commit comments

Comments
 (0)