Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

order integrations by installation count

Steven Teyc52f55a09d9e
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/page.tsx
index cee311a765..dfe593d1c6 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/page.tsx
@@ -37,6 +37,16 @@ const Integrations = async ({ workspaceSlug }: { workspaceSlug: string }) => {
},
},
},
+ orderBy: [
+ {
+ installations: {
+ _count: "desc",
+ },
+ },
+ {
+ createdAt: "desc",
+ },
+ ],
});
return (