From db1ebd78be70da42933c2a9069934625cce4b7d9 Mon Sep 17 00:00:00 2001 From: Kevin Oh Date: Wed, 14 Jun 2023 14:20:01 -0400 Subject: [PATCH 1/3] sort by on user projects page --- pages/user/[id].vue | 67 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/pages/user/[id].vue b/pages/user/[id].vue index ea2f320e31..ca6c18e55f 100644 --- a/pages/user/[id].vue +++ b/pages/user/[id].vue @@ -141,6 +141,29 @@ +
+
+
+ Sort by + + + +
+
+
@@ -195,7 +218,7 @@ : projects ) .slice() - .sort((a, b) => b.downloads - a.downloads)" + .sort(sortProjects)" :id="project.slug || project.id" :key="project.id" :name="project.title" @@ -238,6 +261,7 @@