We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d9993 commit b3dc444Copy full SHA for b3dc444
toolhub/views.py
@@ -15,7 +15,7 @@ def get_context_data(self, **kwargs):
15
ctx = super().get_context_data()
16
if ctx["user"].is_authenticated:
17
ctx["borrowed_tools"] = UserTool.objects.borrowing_by_user(ctx["user"])
18
- ctx["new_tools"] = UserTool.objects.visible_to_user(ctx["user"]).order_by("created")
+ ctx["new_tools"] = UserTool.objects.visible_to_user(ctx["user"]).order_by("-created")
19
return ctx
20
21
0 commit comments