Commit 36f37b14 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: use case-insensitive sort on browse pages

parent f4431d12
Pipeline #331309 passed with stages
in 8 minutes and 42 seconds
......@@ -95,7 +95,7 @@ function useGroupedFacetValues(
const grouped = new Map<string, Map<string, number>>()
Object.entries(values).forEach(([value, { count }]) => {
const firstCharacter = value.charAt(0)
const firstCharacter = value.charAt(0).toUpperCase()
if (!grouped.has(firstCharacter)) {
grouped.set(firstCharacter, new Map())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment