Skip to content

Commit b3dc444

Browse files
committed
sort new tools in proper direction
1 parent e3d9993 commit b3dc444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolhub/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_context_data(self, **kwargs):
1515
ctx = super().get_context_data()
1616
if ctx["user"].is_authenticated:
1717
ctx["borrowed_tools"] = UserTool.objects.borrowing_by_user(ctx["user"])
18-
ctx["new_tools"] = UserTool.objects.visible_to_user(ctx["user"]).order_by("created")
18+
ctx["new_tools"] = UserTool.objects.visible_to_user(ctx["user"]).order_by("-created")
1919
return ctx
2020

2121

0 commit comments

Comments
 (0)