Skip to content

Commit

Permalink
sort boosted merchants by longest asc
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed May 22, 2024
1 parent 79e0f48 commit 92c5cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AreaMerchantHighlights.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.filter((e) => isBoosted(e))
.toSorted(
(a, b) =>
Date.parse(a.tags['boost:expires'] || '') - Date.parse(b.tags['boost:expires'] || '')
Date.parse(b.tags['boost:expires'] || '') - Date.parse(a.tags['boost:expires'] || '')
);
$: latest =
Expand Down

0 comments on commit 92c5cef

Please sign in to comment.