We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46b732c commit 37beff3Copy full SHA for 37beff3
1 file changed
frontend/src/lib/store/modFiltersStore.ts
@@ -23,7 +23,7 @@ export interface Filter {
23
}
24
25
export const orderByOptions: OrderBy[] = [
26
- { id: 'name', func: (mod: PartialMod) => mod.name.trim() },
+ { id: 'name', func: (mod: PartialMod) => mod.name.trim().toLowerCase() },
27
{ id: 'last-updated', func: (mod: PartialMod) => 'last_version_date' in mod ? Date.now() - Date.parse(mod.last_version_date) : 0 },
28
{ id: 'popularity', func: (mod: PartialMod) => 'popularity' in mod ? -mod.popularity : 0 },
29
{ id: 'hotness', func: (mod: PartialMod) => 'hotness' in mod ? -mod.hotness : 0 },
0 commit comments