From 92211fc5e90ec67b7efb9c3305ec8b403fbe73f4 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 24 Dec 2023 08:45:45 +1100 Subject: [PATCH] feat: Sort packages by last update (#547) --- src/lib/SearchableJson.svelte | 3 ++- src/routes/packages/packages.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/SearchableJson.svelte b/src/lib/SearchableJson.svelte index 58a45ff..6b561a6 100644 --- a/src/lib/SearchableJson.svelte +++ b/src/lib/SearchableJson.svelte @@ -32,7 +32,8 @@ bind:query={searchValue} sortableFields={[ { identifier: 'stars', title: 'Stars', ascending: false }, - { identifier: 'title', title: 'Name', ascending: true } + { identifier: 'title', title: 'Name', ascending: true }, + { identifier: 'date', title: 'Date', ascending: false } ]} searchableFields={['title', 'description']} facetsConfig={[ diff --git a/src/routes/packages/packages.json b/src/routes/packages/packages.json index cd8943d..f955b30 100644 --- a/src/routes/packages/packages.json +++ b/src/routes/packages/packages.json @@ -2210,7 +2210,7 @@ }, { "title": "svelte-hover-draw-svg", - "repository": "https://github.com/davipon/svelte-hover-draw-svg", + "repository": "https://github.com/wd-David/svelte-hover-draw-svg", "description": "A lightweight Svelte component to draw SVG on hover.", "npm": "svelte-hover-draw-svg", "category": "User Interaction", @@ -2783,7 +2783,7 @@ }, { "title": "svodals", - "repository": "https://github.com/mavthedev/svodals", + "repository": "https://github.com/chadulous/svodals", "description": "Cybernatically enhanced modals", "npm": "@mavthedev/svodals", "category": "User Interaction",